wms-elevue/src/api/monitor/online.ts
2024-07-24 14:11:31 +08:00

31 lines
553 B
TypeScript

import { http } from '@/utils/http/axios';
/**
* @description: 列表
*/
export function getOnlineList(params?) {
return http.request({
url: '/online/list',
method: 'GET',
params,
});
}
/**
* @description: 强退
*/
export function onlineOut(id) {
return http.request({
url: '/online/logout/'+id,
method: 'DELETE',
});
}
/**
* @description: 批量删除
*/
export function dataSourceBatchDelete(data:any) {
return http.request({
url: '/data/source/batchDelete',
method: 'DELETE',
data
});
}