mirror of
https://gitee.com/dromara/mayfly-go
synced 2026-04-30 16:15:26 +08:00
feat: 新增机器计划任务、数据物理删除调整为逻辑删除、支持记录登录ip归属地等
This commit is contained in:
@@ -3,6 +3,7 @@ import Api from '@/common/Api';
|
||||
export const machineApi = {
|
||||
// 获取权限列表
|
||||
list: Api.newGet('/machines'),
|
||||
tagList: Api.newGet('/machines/tags'),
|
||||
getMachinePwd: Api.newGet('/machines/{id}/pwd'),
|
||||
info: Api.newGet('/machines/{id}/sysinfo'),
|
||||
stats: Api.newGet('/machines/{id}/stats'),
|
||||
@@ -46,3 +47,12 @@ export const authCertApi = {
|
||||
save: Api.newPost('/sys/authcerts'),
|
||||
delete: Api.newDelete('/sys/authcerts/{id}'),
|
||||
};
|
||||
|
||||
export const cronJobApi = {
|
||||
list: Api.newGet('/machine-cronjobs'),
|
||||
relateMachineIds: Api.newGet('/machine-cronjobs/machine-ids'),
|
||||
relateCronJobIds: Api.newGet('/machine-cronjobs/cronjob-ids'),
|
||||
save: Api.newPost('/machine-cronjobs'),
|
||||
delete: Api.newDelete('/machine-cronjobs/{id}'),
|
||||
execList: Api.newGet('/machine-cronjobs/execs'),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user