Browse Source

[授权][修改]:[修改生成二维码的id]

tags/福建版C.9.1.01
meo 5 years ago
parent
commit
e9fc55fac2
2 changed files with 3 additions and 12 deletions
  1. +3
    -11
      index/index.js
  2. +0
    -1
      pages/specialcourtesy/specialcourtesy.js

+ 3
- 11
index/index.js View File

@@ -256,16 +256,8 @@ Page({
levelName: res.data.levelName,
upgradePercent: res.data.upgradePercent,
upgradeScore: res.data.upgradeScore,
memberId: res.data.id
})
if (res.data.nickName) {
that.setData({
memberId: res.data.id
})
var initUrl = JSON.stringify({
flagid: res.data.id
});
}
})
.catch(err => {
wx.showModal({
@@ -485,14 +477,14 @@ Page({
pageSize: 7
}
}).then(res => {
// that.getmemberId(app.globalData.token);
that.getmemberId(app.globalData.token);
// that.checkUserCarStatus();
that.setData({
list: res.data.list
});
})
.catch(err => {
// that.getmemberId(app.globalData.token);
that.getmemberId(app.globalData.token);
// that.checkUserCarStatus();
});
},


+ 0
- 1
pages/specialcourtesy/specialcourtesy.js View File

@@ -37,7 +37,6 @@ Page({
level: res.data.level ? res.data.level : ''
})
that.qrcode(res.data.id);

that.setData({
memberId: res.data.id
})


Loading…
Cancel
Save