瀏覽代碼

Merge branch 'feature/new-scheduled' of baishaojie/tmrgo into develop

baishaojie 1 年之前
父節點
當前提交
a39b5fe387
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      http/handle/api/scheduled.go

+ 1 - 0
http/handle/api/scheduled.go

@@ -134,6 +134,7 @@ func CronScheduled(ctx context.Context) {
 	// //圣牧自动同步前天有进行中的任务
 	manualUdData(pastureinfo)
 
+	fmt.Println(time.Now())
 	tx.Exec(` insert into saplog(pastureId,request,response,status,msgtext,createTime,msgtype,dataDate,url)
 	values(?,?,?,?,?,now(),?,?,?)`, pastureinfo.Pastureid, "1", "", "", "", 10, "1990-01-01", "https://wdc.unidairy.cn/copartner_uploads/")
 	//现代牧业sap同步