Commit 3254fb8b by 谢中龙

导购群发bug

parent a190bf61
...@@ -300,13 +300,13 @@ wxService.page({ ...@@ -300,13 +300,13 @@ wxService.page({
wxService.getTentacleContent(tentacleInfo).then(res => { wxService.getTentacleContent(tentacleInfo).then(res => {
if (res && res.id) { if (res && res.id) {
let tentacleId = res.id; let tentacleId = res.id;
let inner_id = Integer.digit(item.couponId, 10, 64); let inner_id = Integer.digit(item.id, 10, 64);
let inner_tentacleId = Integer.digit(tentacleId, 10, 64); let inner_tentacleId = Integer.digit(tentacleId, 10, 64);
var path = 'subPackage/page/pages/scanCoupon/scanCoupon' + '?i=' + inner_id + '&t=' + inner_tentacleId; var path = 'subPackage/page/pages/scanCoupon/scanCoupon' + '?i=' + inner_id + '&t=' + inner_tentacleId;
//打开企业微信通讯录选择会员 //打开企业微信通讯录选择会员
wx.qy.shareToExternalContact({ wx.qy.shareToExternalContact({
appid: app.globalData.appId,//小程序的appid appid: app.globalData.appId,//小程序的appid
title: item.couponName, //小程序消息的title title: item.title, //小程序消息的title
imgUrl: 'https://bigaka-xie.oss-cn-shanghai.aliyuncs.com/icon_get_coupon.png',//小程序消息的封面图 imgUrl: 'https://bigaka-xie.oss-cn-shanghai.aliyuncs.com/icon_get_coupon.png',//小程序消息的封面图
page: path, //小程序消息打开后的路径 page: path, //小程序消息打开后的路径
success: function (r) { success: function (r) {
......
...@@ -128,13 +128,13 @@ wxService.page({ ...@@ -128,13 +128,13 @@ wxService.page({
wxService.getTentacleContent(tentacleInfo).then(res => { wxService.getTentacleContent(tentacleInfo).then(res => {
if (res && res.id) { if (res && res.id) {
let tentacleId = res.id; let tentacleId = res.id;
let inner_id = Integer.digit(item.couponId, 10, 64); let inner_id = Integer.digit(item.id, 10, 64);
let inner_tentacleId = Integer.digit(tentacleId, 10, 64); let inner_tentacleId = Integer.digit(tentacleId, 10, 64);
var path = 'subPackage/page/pages/scanCoupon/scanCoupon' + '?i=' + inner_id + '&t=' + inner_tentacleId; var path = 'subPackage/page/pages/scanCoupon/scanCoupon' + '?i=' + inner_id + '&t=' + inner_tentacleId;
//打开企业微信通讯录选择会员 //打开企业微信通讯录选择会员
wx.qy.shareToExternalContact({ wx.qy.shareToExternalContact({
appid: app.globalData.appId,//小程序的appid appid: app.globalData.appId,//小程序的appid
title: item.couponName, //小程序消息的title title: item.title, //小程序消息的title
imgUrl: 'https://bigaka-xie.oss-cn-shanghai.aliyuncs.com/icon_get_coupon.png',//小程序消息的封面图 imgUrl: 'https://bigaka-xie.oss-cn-shanghai.aliyuncs.com/icon_get_coupon.png',//小程序消息的封面图
page: path, //小程序消息打开后的路径 page: path, //小程序消息打开后的路径
success: function (r) { success: function (r) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment