mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-28 12:00:25 +08:00
feat: 机器新增命令过滤配置、首页功能完善(操作记录与快捷操作)
This commit is contained in:
@@ -58,6 +58,12 @@ export const cronJobApi = {
|
||||
execList: Api.newGet('/machine-cronjobs/execs'),
|
||||
};
|
||||
|
||||
export const cmdConfApi = {
|
||||
list: Api.newGet('/machine/security/cmd-confs'),
|
||||
save: Api.newPost('/machine/security/cmd-confs'),
|
||||
delete: Api.newDelete('/machine/security/cmd-confs/{id}'),
|
||||
};
|
||||
|
||||
export function getMachineTerminalSocketUrl(authCertName: any) {
|
||||
return `${config.baseWsUrl}/machines/terminal/${authCertName}?${joinClientParams()}`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user