|
|
@ -73,12 +73,11 @@ |
|
|
uni.setStorageSync('token', res.data.token); |
|
|
uni.setStorageSync('token', res.data.token); |
|
|
let userType = res.data.userType |
|
|
let userType = res.data.userType |
|
|
|
|
|
|
|
|
userType = 1 |
|
|
// userType = 1 |
|
|
|
|
|
|
|
|
uni.setStorageSync('userType', userType); |
|
|
uni.setStorageSync('userType', userType); |
|
|
uni.setStorageSync('tabBerIndex', 0); |
|
|
uni.setStorageSync('tabBerIndex', 0); |
|
|
|
|
|
|
|
|
// uni.setStorageSync('userType', res.data.userType); |
|
|
|
|
|
let url_path = '' |
|
|
let url_path = '' |
|
|
switch (String(userType)) { |
|
|
switch (String(userType)) { |
|
|
case '1': //教练 |
|
|
case '1': //教练 |
|
|
|