WXL
2025-01-15 1cb1fbf80c955986385377b5f84e8915d1e655d6
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
  })