mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-10 11:26:47 +08:00
启动时,增加对token的检查
This commit is contained in:
@@ -31,6 +31,11 @@ const getUserInfoById = function(id) {
|
||||
return ajax.postJson('/user/list',{id});
|
||||
}
|
||||
|
||||
/**获取当前登录用户的信息*/
|
||||
const getUserInfo = function() {
|
||||
return ajax.postJson('/user/info',{});
|
||||
}
|
||||
|
||||
/**
|
||||
* https://u-pre.boe.com/userbasic/audience/userAudiences
|
||||
* 获取当前用户受众信息
|
||||
@@ -81,6 +86,7 @@ export default {
|
||||
getOrgInfo,
|
||||
findOrgTreeByOrgId,
|
||||
getUserInfoById,
|
||||
getUserInfo,
|
||||
getUserCrowds,
|
||||
getOrgHrbpInfo,
|
||||
modifyPassword,
|
||||
|
||||
Reference in New Issue
Block a user