|
@@ -2,7 +2,7 @@ import request from '../../utils/request'
|
|
|
//获取权限信息
|
|
|
export function getVerification(data) {
|
|
|
return request({
|
|
|
- url: '/api/api/verification',
|
|
|
+ url: '/api/verification',
|
|
|
method: 'post',
|
|
|
data: data
|
|
|
})
|
|
@@ -10,7 +10,7 @@ export function getVerification(data) {
|
|
|
// 系统列表
|
|
|
export function getSystemList(data) {
|
|
|
return request({
|
|
|
- url: '/api/api/web/system/list',
|
|
|
+ url: '/api/web/system/list',
|
|
|
method: 'post',
|
|
|
data: data
|
|
|
})
|
|
@@ -18,7 +18,7 @@ export function getSystemList(data) {
|
|
|
// 角色列表
|
|
|
export function getRoleList(data) {
|
|
|
return request({
|
|
|
- url: '/api/api/web/role/list',
|
|
|
+ url: '/api/web/role/list',
|
|
|
method: 'post',
|
|
|
data: data
|
|
|
})
|
|
@@ -26,7 +26,7 @@ export function getRoleList(data) {
|
|
|
// 模板列表
|
|
|
export function getFunctionList(data) {
|
|
|
return request({
|
|
|
- url: '/api/api/web/function/list',
|
|
|
+ url: '/api/web/function/list',
|
|
|
method: 'post',
|
|
|
data: data
|
|
|
})
|
|
@@ -34,7 +34,7 @@ export function getFunctionList(data) {
|
|
|
// 模板添加
|
|
|
export function getFunctionAdd(data) {
|
|
|
return request({
|
|
|
- url: '/api/api/web/function/add',
|
|
|
+ url: '/api/web/function/add',
|
|
|
method: 'post',
|
|
|
data: data
|
|
|
})
|
|
@@ -42,7 +42,7 @@ export function getFunctionAdd(data) {
|
|
|
// 模板修改
|
|
|
export function getFunctionUpdate(data) {
|
|
|
return request({
|
|
|
- url: '/api/api/web/function/update',
|
|
|
+ url: '/api/web/function/update',
|
|
|
method: 'post',
|
|
|
data: data
|
|
|
})
|
|
@@ -50,7 +50,7 @@ export function getFunctionUpdate(data) {
|
|
|
// 模板删除
|
|
|
export function getFunctionDel(data) {
|
|
|
return request({
|
|
|
- url: '/api/api/web/function/del',
|
|
|
+ url: '/api/web/function/del',
|
|
|
method: 'post',
|
|
|
data: data
|
|
|
})
|
|
@@ -60,7 +60,7 @@ export function getFunctionDel(data) {
|
|
|
// 查询top用户信息接口
|
|
|
export function getTopUserByLoginName(data) {
|
|
|
return request({
|
|
|
- url: '/api/api/web/user/getTopUserByLoginName',
|
|
|
+ url: '/api/web/user/getTopUserByLoginName',
|
|
|
method: 'post',
|
|
|
data: data
|
|
|
})
|
|
@@ -68,7 +68,7 @@ export function getTopUserByLoginName(data) {
|
|
|
// 查询所有权限列表接口
|
|
|
export function getroleAll(data) {
|
|
|
return request({
|
|
|
- url: '/api/api/web/role/all',
|
|
|
+ url: '/api/web/role/all',
|
|
|
method: 'post',
|
|
|
data: data
|
|
|
})
|
|
@@ -76,7 +76,7 @@ export function getroleAll(data) {
|
|
|
// 查询地市和区县树形接口(用户列表地区选择框)
|
|
|
export function getCityAreaList(data) {
|
|
|
return request({
|
|
|
- url: '/api/api/web/area/tree',
|
|
|
+ url: '/api/web/area/tree',
|
|
|
method: 'post',
|
|
|
data: data
|
|
|
})
|
|
@@ -84,7 +84,7 @@ export function getCityAreaList(data) {
|
|
|
// 查询地市和区县树形接口(添加、修改用户、操作日志地区选择框)
|
|
|
export function getTreeProvinceCity(data) {
|
|
|
return request({
|
|
|
- url: '/api/api/web/area/treeProvinceCity',
|
|
|
+ url: '/api/web/area/treeProvinceCity',
|
|
|
method: 'post',
|
|
|
data: data
|
|
|
})
|
|
@@ -92,7 +92,7 @@ export function getTreeProvinceCity(data) {
|
|
|
// 查询用户权限接口
|
|
|
export function getRoleByLoginName(data) {
|
|
|
return request({
|
|
|
- url: '/api/api/web/user/getRoleByLoginName',
|
|
|
+ url: '/api/web/user/getRoleByLoginName',
|
|
|
method: 'post',
|
|
|
data: data
|
|
|
})
|
|
@@ -100,7 +100,7 @@ export function getRoleByLoginName(data) {
|
|
|
// 查询用户列表接口
|
|
|
export function getUserList(data) {
|
|
|
return request({
|
|
|
- url: '/api/api/web/user/list',
|
|
|
+ url: '/api/web/user/list',
|
|
|
method: 'post',
|
|
|
data: data
|
|
|
})
|
|
@@ -108,7 +108,7 @@ export function getUserList(data) {
|
|
|
// 添加用户接口
|
|
|
export function getUserAdd(data) {
|
|
|
return request({
|
|
|
- url: '/api/api/web/user/add',
|
|
|
+ url: '/api/web/user/add',
|
|
|
method: 'post',
|
|
|
data: data
|
|
|
})
|
|
@@ -116,7 +116,7 @@ export function getUserAdd(data) {
|
|
|
// 修改用户接口
|
|
|
export function getUserUpdate(data) {
|
|
|
return request({
|
|
|
- url: '/api/api/web/user/update',
|
|
|
+ url: '/api/web/user/update',
|
|
|
method: 'post',
|
|
|
data: data
|
|
|
})
|
|
@@ -124,7 +124,7 @@ export function getUserUpdate(data) {
|
|
|
// 删除用户接口
|
|
|
export function getUserDel(data) {
|
|
|
return request({
|
|
|
- url: '/api/api/web/user/del',
|
|
|
+ url: '/api/web/user/del',
|
|
|
method: 'post',
|
|
|
data: data
|
|
|
})
|
|
@@ -132,7 +132,7 @@ export function getUserDel(data) {
|
|
|
// 查询用户详情接口
|
|
|
export function getUserDetail(data) {
|
|
|
return request({
|
|
|
- url: '/api/api/web/user/detail',
|
|
|
+ url: '/api/web/user/detail',
|
|
|
method: 'post',
|
|
|
data: data
|
|
|
})
|
|
@@ -140,7 +140,7 @@ export function getUserDetail(data) {
|
|
|
// 批量复制权限接口
|
|
|
export function getRoleCopy(data) {
|
|
|
return request({
|
|
|
- url: '/api/api/web/user/copyRole',
|
|
|
+ url: '/api/web/user/copyRole',
|
|
|
method: 'post',
|
|
|
data: data
|
|
|
})
|
|
@@ -149,7 +149,7 @@ export function getRoleCopy(data) {
|
|
|
// 操作日志
|
|
|
export function getOperationLogList(data) {
|
|
|
return request({
|
|
|
- url: '/api/api/web/log/operationLog/list',
|
|
|
+ url: '/api/web/log/operationLog/list',
|
|
|
method: 'post',
|
|
|
data: data
|
|
|
})
|
|
@@ -157,7 +157,7 @@ export function getOperationLogList(data) {
|
|
|
// 操作导出
|
|
|
export function getOperationLogExport(data) {
|
|
|
return request({
|
|
|
- url: '/api/api/web/log/operationLog/export',
|
|
|
+ url: '/api/web/log/operationLog/export',
|
|
|
method: 'post',
|
|
|
data: data
|
|
|
})
|
|
@@ -165,7 +165,7 @@ export function getOperationLogExport(data) {
|
|
|
// 登录日志
|
|
|
export function getVerificationLogList(data) {
|
|
|
return request({
|
|
|
- url: '/api/api/web/log/verificationLog/list',
|
|
|
+ url: '/api/web/log/verificationLog/list',
|
|
|
method: 'post',
|
|
|
data: data
|
|
|
})
|
|
@@ -173,7 +173,7 @@ export function getVerificationLogList(data) {
|
|
|
// 登录导出
|
|
|
export function getVerificationLogExport(data) {
|
|
|
return request({
|
|
|
- url: '/api/api/web/log/verificationLog/export',
|
|
|
+ url: '/api/web/log/verificationLog/export',
|
|
|
method: 'post',
|
|
|
data: data
|
|
|
})
|