好物圈推荐接口h5接入
- 当前 Bug 的表现(可附上截图)
- 预期表现
- 复现路径
- 提供一个最简复现 Demo
我这边没有通过接口导入过商品和订单, 只是在我的商品H5页面接口推荐接口,config,checkapi都过了
调用
wx.config({
debug: false,
appId: appid,
timestamp: timestamp,
nonceStr: noncestr,
signature: signature,
jsApiList: [
"checkJsApi",
"showAllNonBaseMenuItem",
"onMenuShareTimeline",
"onMenuShareAppMessage",
"onMenuShareQQ",
"onMenuShareWeibo",
"onMenuShareQZone",
"openBusinessView"
]
});
wx.openBusinessView({
businessType: 'friendGoodsRecommend',
queryString: queryString,
success: function (res) {
alert(JSON.stringify(res));
//{"err_msg":"errmsg","extraData":{}}
},
fail: function (res) {
alert(JSON.stringify(res));
//{"err_msg":"errmsg"}
}
})
提示 openBusinessView : permission denied