收藏
回答

第三方平台发布小程序返回errcode:47001

https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/code/release.html

发布已通过审核的小程序res: {"errcode":47001,"errmsg":"data format error rid: 60a72705-5919fd7a-2e7f6b03"}

文档里说post参数是{},php封装的curl post 以json格式,代码accessToken已经正确了不然会先报这个错的

$url = sprintf('https://api.weixin.qq.com/wxa/release?access_token=%s'$accessToken);
        echo ('发布已通过审核的小程序url: ' . $url);
        $response = curl_post($url);
回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容