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)