WXL
2025-01-09 95075418735842f54c116c2dc2d18199d4408e50
src/api/system/role.js
@@ -20,7 +20,7 @@
// 新增角色
export function addRole(data) {
  return request({
    url: '/system/role',
    url: '/system/role/add',
    method: 'post',
    data: data
  })
@@ -38,7 +38,7 @@
// 角色数据权限
export function dataScope(data) {
  return request({
    url: '/system/role/dataScope/edit',
    url: '/system/role/dataScope',
    method: 'post',
    data: data
  })
@@ -104,7 +104,7 @@
// 授权用户选择
export function authUserSelectAll(data) {
  return request({
    url: '/system/role/authUser/selectAll/edit',
    url: '/system/role/authUser/selectAll',
    method: 'post',
    params: data
  })