diff --git a/pages/user/index/index.js b/pages/user/index/index.js index 9d8bc02..ecdc134 100644 --- a/pages/user/index/index.js +++ b/pages/user/index/index.js @@ -44,7 +44,6 @@ Page({ var stoid = app_d.setting.stoid; var s = this,th=s,need_money=0,cur_g_num=0; getApp().get_isbuy(th.setappdata); - /*------会员登录------*/ app.getUserFir(async function(e){ if(e!=undefined && e!=null){ @@ -189,9 +188,11 @@ Page({ th.requestRecommend(); } }); - - - + /*-------系统是否开通等级卡,会员是等级卡-----*/ + getApp().getConfig2(function (e) { + var t_swi=e.switch_list; + if(t_swi) t_swi=JSON.parse(t_swi) + }) }, //判断会员是后有改服务项目