Commit 0e3e1c066129f9695bebf90c2146513170fa57ad

Authored by WXD-SEASON\season
1 parent bf0d28a2

测试重复提交了,先隐藏及注册时对应导购

packageE/pages/qy/contactMe/contactMe.js
... ... @@ -78,7 +78,7 @@ Page({
78 78 '86007': '不合法的群成员',
79 79 },
80 80 },
81   - onLoad: function (tt) {
  81 + onLoad:async function (tt) {
82 82 // tt.scene="0_0_16"
83 83 if (tt && tt.scene) {
84 84 var first_leader_str = decodeURIComponent(tt.scene);
... ... @@ -93,6 +93,7 @@ Page({
93 93 this.setData({
94 94 id: f_arr[2]
95 95 })
  96 + await this.getopenuserid(f_arr[2])
96 97 //判断是否有注册,如果没有注册必须先注册
97 98 let userinfo = wx.getStorageSync('userinfo');
98 99 if (!userinfo) {
... ... @@ -106,7 +107,7 @@ Page({
106 107 this.setData({
107 108 phone:userinfo.mobile
108 109 })
109   - this.getopenuserid(f_arr[2])
  110 +
110 111 }else{
111 112  
112 113 wx.removeStorageSync('userinfo')
... ... @@ -177,9 +178,9 @@ Page({
177 178 })
178 179 // wx.removeStorageSync('qyzsdg')
179 180 }
180   - if (this.data.id) {
181   - this.getopenuserid(this.data.id)
182   - }
  181 + // if (this.data.id) {
  182 + // this.getopenuserid(this.data.id)
  183 + // }
183 184 },
184 185 getopenuserid(id) {
185 186 let url = `/api/weshop/qyWeChat/qywxStaffcode/get/${id}`
... ...