Browse Source

云养牛圣牧部署

baishaojie 8 months ago
parent
commit
beef37afbf
1 changed files with 2 additions and 2 deletions
  1. 2 2
      http/handle/api/scheduled.go

+ 2 - 2
http/handle/api/scheduled.go

@@ -131,7 +131,7 @@ func CronScheduled(ctx context.Context) {
 	dayCron.Start()
 	// udFeedSync(pastureinfo)
 	// //圣牧自动同步前天有进行中的任务
-	// manualUdData(pastureinfo)
+	manualUdData(pastureinfo)
 	// gm.GmUdSync(pastureinfo.Pastureid, pastureinfo.Werks)
 	// xdmy := cron.New()
 	// err = xdmy.AddFunc("0 30 4 * * *", func() {
@@ -146,7 +146,7 @@ func CronScheduled(ctx context.Context) {
 	// })
 
 	// xdmy.Start()
-	// InitMqttClient()
+	InitMqttClient()
 	// yq.YqCron()
 }