微信第三方平台提交审核报错
在写微信第三方平台帮授权的小程序进行代码提交审核时:
function submit_audit( $accessToken , $data ) { $url = "https://api.weixin.qq.com/wxa/submit_audit?access_token=" . $accessToken ; return http_post( $url , json_encode( $data )); } |
$data为
array (1) { [ "item_list" ]=> array (1) { [0]=> array (6) { [ "first_class" ]=> string(6) "工具" [ "first_id" ]=> int(287) [ "second_class" ]=> string(6) "效率" [ "second_id" ]=> int(616) [ "tag" ]=> string(13) "test justtest" [ "address" ]=> string(17) "pages/index/index" } } } |
最后返回
{ "errcode" :85010, "errmsg" : "missing required data hint: [H1wvHa04964525]" } |
文档中85010表示“item_list有项目为空”
是我数据传错了吗?这里面并没有空项