图片定时任务
This commit is contained in:
@@ -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`)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user