From 3192d593ac079d01853cafd7ce0e8939b6d934a8 Mon Sep 17 00:00:00 2001 From: xianghenggang Date: Thu, 14 Sep 2017 15:15:49 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8E=B7=E5=8F=96=E7=94=A8=E6=88=B7=E4=BF=A1?= =?UTF-8?q?=E6=81=AFtype=E4=BC=A0=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- littleApp_child/pages/home/home.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/littleApp_child/pages/home/home.js b/littleApp_child/pages/home/home.js index 0498854..e95d460 100644 --- a/littleApp_child/pages/home/home.js +++ b/littleApp_child/pages/home/home.js @@ -229,9 +229,9 @@ Page({ getUserInfo(userId) { networkUtil.showLoading() var self = this - var param = { 'token': app.globalData.token ,'type':0} + var param = { 'token': app.globalData.token } if (getApp().globalData.tourist == true) { - param.type = 1 + param.type = 2 } networkUtil._get(api.userInfo + app.globalData.currentId, param, function (res) { console.log('获取用户信息',res) -- 1.8.3.1