判断用户后台权限

This commit is contained in:
a0049873 2022-10-25 09:48:40 +08:00
parent 11b42afde3
commit b30a72555f
2 changed files with 526 additions and 482 deletions

View File

@ -1,8 +1,8 @@
/*
* @Author: hisense.wuhongjian
* @Date: 2022-03-29 17:48:03
* @LastEditors: hisense.liangjunhua
* @LastEditTime: 2022-07-15 16:42:22
* @LastEditors: Light
* @LastEditTime: 2022-10-25 09:37:05
* @Description: 告诉大家这是什么
*/
import request from '@/utils/request'
@ -23,6 +23,13 @@ export async function socialLogin(data) {
})
}
export function getRole(params) {
return request({
url: '/sys/role/' + params,
method: 'get',
params,
})
}
export function getUserInfo(redict) {
//mock.js使dataaccessToken使mockheaders
// debugger
@ -30,8 +37,8 @@ export function getUserInfo(redict) {
url: '/sys/user/info',
method: 'get',
headers: {
REQUESTURI:redict
}
REQUESTURI: redict,
},
})
}
export function getDeptAll() {

File diff suppressed because it is too large Load Diff