瀏覽代碼

Merge branch 'dev_v1.5.22_wh' of jianyu/datatools into feature/v1.5.22

王浩 7 月之前
父節點
當前提交
9a7cc6bbd2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      clueSync/kc.go

+ 1 - 1
clueSync/kc.go

@@ -575,7 +575,7 @@ func ordersClue() {
 
 func refundAuto() {
 	log.Println("自动移交销售定时任务开始")
-	findNowTime := time.Now().AddDate(0, 0, db.ExpirationPeriod).Format(date.Date_Full_Layout)
+	findNowTime := time.Now().AddDate(0, 0, -db.ExpirationPeriod).Format(date.Date_Full_Layout)
 	nowTime := time.Now().Format(date.Date_Full_Layout)
 	TiDb.SelectByBath(100, func(l *[]map[string]interface{}) bool {
 		for _, v := range *l {