小程序
小游戏
企业微信
微信支付
扫描小程序码分享
1 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
调用的接口以及具体参数麻烦提供下
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
var jsCheckObject={
"appid": "wxe8108848eb9c53c7",
"timestamp": "1578535588",
"noncestr": "B86a5R6G3pW6Ai9P",
"signature": "80ea908bc75b0938c9a8727499bffe1980b3eff3",
"url": "http://test.ewei.aumake.com/app/index.php? i=16&c=entry&do=ExpressGoodsDetails&m=wx_express&id=2187&sales=750"
}
var productObject={
item_code:"9334256002268",
title:"Health Essence 黑蜂胶2000mg 200 粒",
desc:"Health Essence 黑蜂胶2000mg 200 粒",
category_list:["奶粉"],
image_list:["http://testcdn.aumake.com/product_main2_psn9334256002268_1.png-s600p"],
src_h5_path:"http://test.ewei.aumake.com/app/index.php? i=16&c=entry&do=ExpressGoodsDetails&m=wx_express&id=2187&sales=750"
var jsCheckObject1 = encodeURIComponent(JSON.stringify(jsCheckObject))
var productObject1 = encodeURIComponent(JSON.stringify(productObject))
wx.openBusinessView({
businessType: 'friendGoodsRecommend',
queryString: `jsCheck=${jsCheckObject1}&
product=${productObject1}`,
success: function (res) {
alert(JSON.stringify(res));
console.log(res)
},
fail: function (res){
alert("失败:"+JSON.stringify(res));
})
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
调用的接口以及具体参数麻烦提供下
var jsCheckObject={
"appid": "wxe8108848eb9c53c7",
"timestamp": "1578535588",
"noncestr": "B86a5R6G3pW6Ai9P",
"signature": "80ea908bc75b0938c9a8727499bffe1980b3eff3",
"url": "http://test.ewei.aumake.com/app/index.php? i=16&c=entry&do=ExpressGoodsDetails&m=wx_express&id=2187&sales=750"
}
var productObject={
item_code:"9334256002268",
title:"Health Essence 黑蜂胶2000mg 200 粒",
desc:"Health Essence 黑蜂胶2000mg 200 粒",
category_list:["奶粉"],
image_list:["http://testcdn.aumake.com/product_main2_psn9334256002268_1.png-s600p"],
src_h5_path:"http://test.ewei.aumake.com/app/index.php? i=16&c=entry&do=ExpressGoodsDetails&m=wx_express&id=2187&sales=750"
}
var jsCheckObject1 = encodeURIComponent(JSON.stringify(jsCheckObject))
var productObject1 = encodeURIComponent(JSON.stringify(productObject))
wx.openBusinessView({
businessType: 'friendGoodsRecommend',
queryString: `jsCheck=${jsCheckObject1}&
product=${productObject1}`,
success: function (res) {
alert(JSON.stringify(res));
console.log(res)
},
fail: function (res){
console.log(res)
alert("失败:"+JSON.stringify(res));
}
})