RuoYi
2021-07-13 c8b66f9b04e98bac8fd04ef89dd5f5d14d2155c7
ruoyi-ui/src/api/system/user.js
@@ -125,3 +125,20 @@
    method: 'get'
  })
}
// 查询授权角色
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
  })
}