From 252ad9f55e8828bcacb8ddef28c8e9ff0a62f8d6 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期一, 27 十一月 2023 15:41:39 +0800
Subject: [PATCH] 计算工时,生产条形码
---
api/v1/device.go | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/api/v1/device.go b/api/v1/device.go
index 01c278f..5bcb18d 100644
--- a/api/v1/device.go
+++ b/api/v1/device.go
@@ -2,15 +2,12 @@
import (
"apsClient/conf"
- "apsClient/constvar"
- "apsClient/crontask"
"apsClient/model/request"
"apsClient/model/response"
_ "apsClient/model/response"
"apsClient/pkg/contextx"
"apsClient/pkg/ecode"
"apsClient/pkg/logx"
- "apsClient/pkg/safe"
"apsClient/service"
"github.com/gin-gonic/gin"
)
@@ -52,9 +49,6 @@
}
service.SetDeviceIDToFile(params.CurrentDeviceID)
conf.Conf.CurrentDeviceID = params.CurrentDeviceID
- safe.Go(func() {
- _ = crontask.RestartTask(conf.Conf.SerfClusterStatus != constvar.SerfClusterStatusSlave)
- })
ctx.Ok()
}
--
Gitblit v1.8.0