图片定时任务

This commit is contained in:
zc
2026-04-07 11:00:45 +08:00
parent 7238aabd0a
commit 6f3613133b
2 changed files with 30 additions and 5 deletions

View File

@@ -33,3 +33,13 @@ export function validateWeighing(data: any) {
export function vmSend(materialProcess: string) {
return http.post<string>(`/vm/send`, { materialProcess })
}
/** @desc vm定时任务保存图片 */
export function getVmSaveImageTask() {
return http.get<any>(`/vm/start`)
}
/** @desc vm关闭定时任务 */
export function getVmCloseTask() {
return http.get<any>(`/vm/stop`)
}