|
|
@ -73,7 +73,12 @@ const user = { |
|
|
|
const http = uni.$u.http |
|
|
|
let config = { custom: { auth: false }, header: {'content-type': 'application/x-www-form-urlencoded; charset=UTF-8'} } |
|
|
|
const res = await http.get('app/student-record/get') |
|
|
|
// const res = await http.get('app/student-record/get?id='+state.vuex_loginInfo.userId,config)
|
|
|
|
if(res.tenantId) { |
|
|
|
uni.$u.http.setConfig((config) => { |
|
|
|
config.header['tenant-id'] = res.tenantId |
|
|
|
return config |
|
|
|
}) |
|
|
|
} |
|
|
|
commit('update_vuex_userInfo',res.data) |
|
|
|
}, |
|
|
|
// 刷新token
|
|
|
|