Commit 0fc753f8 by 高淑倩

积分换物icon

parent 8b5292d9
...@@ -40,6 +40,7 @@ App({ ...@@ -40,6 +40,7 @@ App({
}, },
onShow: function (options = {}) { onShow: function (options = {}) {
console.log('app_onshow========', options)
const baseUserInfo = wx.getStorageSync('_baseUserInfo') const baseUserInfo = wx.getStorageSync('_baseUserInfo')
// 获取当前会员是否是体验者 // 获取当前会员是否是体验者
const { member } = baseUserInfo const { member } = baseUserInfo
......
...@@ -125,6 +125,7 @@ wxService.page({ ...@@ -125,6 +125,7 @@ wxService.page({
let inner_id = Integer.digit(item.couponId, 10, 64); let inner_id = Integer.digit(item.couponId, 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;
console.log('-0-00', path)
//打开企业微信通讯录选择会员 //打开企业微信通讯录选择会员
wx.qy.shareToExternalContact({ wx.qy.shareToExternalContact({
appid: app.globalData.appId,//小程序的appid appid: app.globalData.appId,//小程序的appid
......
...@@ -45,6 +45,7 @@ wxService.page({ ...@@ -45,6 +45,7 @@ wxService.page({
* 生命周期函数--监听页面加载 * 生命周期函数--监听页面加载
*/ */
onLoad: function (options) { onLoad: function (options) {
console.log('options', options)
this.setData({ this.setData({
id: options.id id: options.id
},()=>{ },()=>{
......
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