创建门店api
https://api.weixin.qq.com/cgi-bin/express/intracity/querystore?access_token={ACCESS_TOKEN}
查询门店api
https://api.weixin.qq.com/cgi-bin/express/intracity/createstore?access_token={ACCESS_TOKEN}
都是报同样的错误47001,大神帮忙看看问题在哪,而且我已经关闭了API安全
=========================================下面是代码==========================================
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://api.weixin.qq.com/cgi-bin/express/intracity/createstore?access_token=xxxxxxxxxxxxxxxxxxxxxx',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS =>'{
"out_store_id": \'7758521\',
"store_name": \'大脸猫和蓝皮书\'
}',
CURLOPT_HTTPHEADER => array(
'Accept: application/json',
'User-Agent: Apifox/1.0.0 (https://apifox.com)',
'Content-Type: application/json;charset=utf-8',
'Host: api.weixin.qq.com',
'Connection: keep-alive'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
==========================最后就报错47001
你好,同城配送的接口需要对参数进行加密和签名
感谢支持,已经解决,php确实不太好弄,挂了nodejs配合已完美解决