RuoYi
2021-07-28 3c649a8814d6587310ca4f56e8fc7feeeefd4df1
ruoyi-ui/src/api/system/user.js
@@ -108,3 +108,20 @@
    data: data
  })
}
// 查询授权角色
export function getAuthRole(userId) {
  return request({
    url: '/system/user/authRole/' + userId,
    method: 'get'
  })
}
// 保存授权角色
export function updateAuthRole(data) {
  return request({
    url: '/system/user/authRole',
    method: 'put',
    params: data
  })
}