From 2999e7e6e5342db61e47086aaaa8055b0aad4152 Mon Sep 17 00:00:00 2001 From: yvan.ni <765199919@qq.com> Date: Tue, 29 Oct 2019 14:33:18 +0800 Subject: [PATCH] 2121212 --- pages/user/index/index.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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) + }) }, //判断会员是后有改服务项目 -- libgit2 0.21.4