小程序联盟传入商品编号获取不了商品信息,要怎么调整呢?
发布于 4 年前 作者 kshao 1111 次浏览 来自 问答

https://developers.weixin.qq.com/miniprogram/dev/framework/union/access-guidelines/promoter/api/product/category.html

新问题,获取商品详情时传递一个productId没有返回商品信息,只返回了total=1,

请求参数:

将shopAppids传入、query传入都没有商品返回

{"from":1,"limit":20,"queryType":2,"query":"29119559","productId":"29119559","shopAppIds":["wx98eaabf5c81ae208"]}


返回:

 {"errcode":0,"errmsg":"ok","productList":[],"total":1,"next":1}

1 回复

你好,from参数需要从0开始哈。

回到顶部