feat : 优化指定用户时该用户的矩阵状态检查
This commit is contained in:
@@ -56,8 +56,8 @@ export const getUserDetail = (userId) => {
|
||||
// 操作
|
||||
export const operate = (data, type) => {
|
||||
// console.log(type ,'type');
|
||||
if(data.userId && type !== '0') return editUser(data)
|
||||
else if(type == '0') return editUserOA(data)
|
||||
if (data.userId && type !== '0') return editUser(data)
|
||||
else if (type == '0') return editUserOA(data)
|
||||
return addUser(data)
|
||||
}
|
||||
|
||||
@@ -186,16 +186,23 @@ export const unbindAllUserByPost = (postId) => {
|
||||
})
|
||||
}
|
||||
|
||||
export const bindAccount=(data)=>{
|
||||
export const bindAccount = (data) => {
|
||||
return request({
|
||||
url: '/admin/mosr/user/bind/account',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
export const getBindAccount=(userId)=>{
|
||||
export const getBindAccount = (userId) => {
|
||||
return request({
|
||||
url: `/admin/mosr/user/bind/account/info/${userId}`,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
export const checkMatrix = (userId) => {
|
||||
return request({
|
||||
url: `/admin/mosr/user/matrix?userId=` + userId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user