Browse Source

去掉测试代码

baishaojie 1 year ago
parent
commit
e0e357f873
1 changed files with 0 additions and 3 deletions
  1. 0 3
      http/handle/api/scheduled.go

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

@@ -134,9 +134,6 @@ func CronScheduled(ctx context.Context) {
 	// //圣牧自动同步前天有进行中的任务
 	manualUdData(pastureinfo)
 
-	fmt.Println(time.Now(), "111111111111111111")
-	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同步
 	// xdmy := cron.New()
 	// xdmy.AddFunc("50 04 * * *", func() {