Commit 2999e7e6e5342db61e47086aaaa8055b0aad4152
1 parent
e23a9e71
2121212
Showing
1 changed file
with
5 additions
and
4 deletions
pages/user/index/index.js
... | ... | @@ -44,7 +44,6 @@ Page({ |
44 | 44 | var stoid = app_d.setting.stoid; |
45 | 45 | var s = this,th=s,need_money=0,cur_g_num=0; |
46 | 46 | getApp().get_isbuy(th.setappdata); |
47 | - | |
48 | 47 | /*------会员登录------*/ |
49 | 48 | app.getUserFir(async function(e){ |
50 | 49 | if(e!=undefined && e!=null){ |
... | ... | @@ -189,9 +188,11 @@ Page({ |
189 | 188 | th.requestRecommend(); |
190 | 189 | } |
191 | 190 | }); |
192 | - | |
193 | - | |
194 | - | |
191 | + /*-------系统是否开通等级卡,会员是等级卡-----*/ | |
192 | + getApp().getConfig2(function (e) { | |
193 | + var t_swi=e.switch_list; | |
194 | + if(t_swi) t_swi=JSON.parse(t_swi) | |
195 | + }) | |
195 | 196 | }, |
196 | 197 | |
197 | 198 | //判断会员是后有改服务项目 | ... | ... |