请求参数:
{goodsInfo={"coverImgUrl":"jL7nOTA9gI2TRR9N9wlKmd3dhD4QAvUZ8lonFZ4S7qxXjZDpJJN8wg4qkrHwSOkl","price":33,"name":"测试","priceType":"1","url":"/pages/router/router?name=detail&StoreNO=0002&GoodsID=32201","price2":""}}
返回:
{"errmsg":"name length invalid","errcode":300002}
这才2个汉字 就超了。 这是撒原因。
https://developers.weixin.qq.com/miniprogram/dev/framework/liveplayer/commodity-api.html
appid是哪个?我们定位一下
url":"/pages/router/router?name=detail&StoreNO=0002&GoodsID=32201"
链接前面的“/”去掉就可以了
你好,请问解决了吗