This commit is contained in:
孟帅
2023-07-20 18:01:10 +08:00
parent 9113fc5297
commit 373d9627fb
492 changed files with 12170 additions and 6982 deletions

View File

@@ -39,3 +39,18 @@ export function View(params) {
params,
});
}
export function ChooserOption() {
return http.request({
url: '/attachment/chooserOption',
method: 'GET',
});
}
export function ClearKind(params) {
return http.request({
url: '/attachment/clearKind',
method: 'POST',
params,
});
}

View File

@@ -2,7 +2,7 @@ import { http } from '@/utils/http/axios';
export function OnlineList(params) {
return http.request({
url: '/monitor/onlineList',
url: '/monitor/userOnlineList',
method: 'get',
params,
});
@@ -10,8 +10,31 @@ export function OnlineList(params) {
export function Offline(params) {
return http.request({
url: '/monitor/offline',
url: '/monitor/userOffline',
method: 'POST',
params,
});
}
export function NetOnlineList(params) {
return http.request({
url: '/monitor/netOnlineList',
method: 'get',
params,
});
}
export function NetOffline(params) {
return http.request({
url: '/monitor/netOffline',
method: 'POST',
params,
});
}
export function NetOption() {
return http.request({
url: '/monitor/netOption',
method: 'get',
});
}

View File

@@ -97,8 +97,6 @@ export function AcceptRefund(params) {
});
}
// 导出充值订单
export function Export(params) {
jumpExport('/order/export', params);

View File

@@ -0,0 +1,60 @@
import { http, jumpExport } from '@/utils/http/axios';
// 获取服务许可证列表
export function List(params) {
return http.request({
url: '/serveLicense/list',
method: 'get',
params,
});
}
// 删除/批量删除服务许可证
export function Delete(params) {
return http.request({
url: '/serveLicense/delete',
method: 'POST',
params,
});
}
// 添加/编辑服务许可证
export function Edit(params) {
return http.request({
url: '/serveLicense/edit',
method: 'POST',
params,
});
}
// 修改服务许可证状态
export function Status(params) {
return http.request({
url: '/serveLicense/status',
method: 'POST',
params,
});
}
// 获取服务许可证指定详情
export function View(params) {
return http.request({
url: '/serveLicense/view',
method: 'GET',
params,
});
}
// 分配服务许可证路由
export function AssignRouter(params) {
return http.request({
url: '/serveLicense/assignRouter',
method: 'POST',
params,
});
}
// 导出服务许可证
export function Export(params) {
jumpExport('/serveLicense/export', params);
}

View File

@@ -1,5 +1,5 @@
import {http} from '@/utils/http/axios';
import {ApiEnum} from "@/enums/apiEnum";
import { http } from '@/utils/http/axios';
import { ApiEnum } from '@/enums/apiEnum';
/**
* @description: 根据用户id获取用户菜单