fix : 修复角色替换接口
This commit is contained in:
@@ -21,9 +21,9 @@ export const getUserAccount = () => {
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
export const judgeIsSameRole = () => {
|
||||
export const judgeIsSameRole = (userId) => {
|
||||
return request({
|
||||
url: '/admin/mosr/user/company/same',
|
||||
url: `/admin/mosr/user/company/same/${userId}`,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user