接口:https://api.weixin.qq.com/wxaapi/broadcast/goods/add?access_token=
Appid:wx999d755bfcb6f06e
POST传入json
请求内容:
{"goodsInfo":{"coverImgUrl":"3iaXBG2JxU1uqbH4hgOL3RteBWx5DGCZ2DaXmlg-OproAyrMrRijA0aNdfLiza_v","name":"\u56fd\u4e95 53\u5ea6\u81f4\u656c70 \u7ef5\u67d4\u9171\u9999\u767d\u9152 480ml \u5355\u74f6\u88c5","priceType":1,"price":1999,"url":"pages\/index\/index?id=4"}}
请求日志:
2020-12-09 16:57:03
1607504223
Array
(
[code] => 200
[status] => OK
[responseline] => HTTP/1.0 200 OK
[headers] => Array
(
[Connection] => close
[X-Frame-Options] => SAMEORIGIN
[X-XSS-Protection] => 1; mode=block
[X-DNS-Prefetch-Control] => off
[Strict-Transport-Security] => max-age=15552000; includeSubDomains
[Keep-Alive] => timeout=5
[X-Download-Options] => noopen
[Set-Cookie] => wxuin=07504224171011; path=/; expires=Mon, 18 Jan 2038 19:14:07 GMT
[Date] => Wed, 09 Dec 2020 08:57:04 GMT
[Content-Type] => application/json; charset=utf-8
[Content-Length] => 89
)
[content] => {"errmsg":"goodsInfo must not be empty rid: 5fd09160-4ca04291-3dfbd845","errcode":200002}
[meta] => HTTP/1.0 200 OK
Connection: close
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-DNS-Prefetch-Control: off
Strict-Transport-Security: max-age=15552000; includeSubDomains
Keep-Alive: timeout=5
X-Download-Options: noopen
Set-Cookie: wxuin=07504224171011; path=/; expires=Mon, 18 Jan 2038 19:14:07 GMT
Date: Wed, 09 Dec 2020 08:57:04 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 89
{"errmsg":"goodsInfo must not be empty rid: 5fd09160-4ca04291-3dfbd845","errcode":200002}
)
麻烦把日志内容贴一下文本,以及请求的时间,还有appid也提供下,然后贴一下你请求方式,完整的请求
我也是这个问题,请求参数完全没问题,按文档写的
解决了吗?我也是这个问题
求解答啊。。。。。