Browse Source

Merge branch 'cygx_need_05-08-p1' of http://8.136.199.33:3000/hongze/hongze_cygx into debug

xingzai 1 year ago
parent
commit
f7a80dc389
1 changed files with 2 additions and 2 deletions
  1. 2 2
      models/activity.go

+ 2 - 2
models/activity.go

@@ -500,7 +500,7 @@ func UpdateActivitySattusToHaveInHand() (err error) {
 		}
 	}()
 	o := orm.NewOrm()
-	resultTime_30 := time.Now().Add(-time.Minute * 30).Format("2006-01-02 15:04:05")
+	resultTime_30 := time.Now().Add(-time.Minute * 60).Format("2006-01-02 15:04:05") // 线上活动也改成60分钟之后结束了 2023.5.8
 	resultTime_60 := time.Now().Add(-time.Minute * 60).Format("2006-01-02 15:04:05")
 	var sqlOr string
 	var condition string
@@ -523,7 +523,7 @@ func UpdateActivitySattusToComplete() (err error) {
 		}
 	}()
 	o := orm.NewOrm()
-	resultTime_30 := time.Now().Add(-time.Minute * 30).Format("2006-01-02 15:04:05")
+	resultTime_30 := time.Now().Add(-time.Minute * 60).Format("2006-01-02 15:04:05") // 线上活动也改成60分钟之后结束了 2023.5.8
 	resultTime_60 := time.Now().Add(-time.Minute * 60).Format("2006-01-02 15:04:05")
 	//var sqlOr string
 	var condition string