Commit 40e97558 by mushishixian

打印更新时间

parent db29a0b8
Showing with 11 additions and 9 deletions
/config/config.toml /config/config.toml
/.idea /.idea
/.DS_Store /.DS_Store
/logs/* /logs/*
/log/* /log/*
/config/*.toml /config/*.toml
/cmd/* /cmd/*
*_slow.log *_slow.log
\ No newline at end of file /.history
\ No newline at end of file
...@@ -104,6 +104,7 @@ func main() { ...@@ -104,6 +104,7 @@ func main() {
updateTime = 1 updateTime = 1
} }
updateTime = 1 updateTime = 1
fmt.Println(updateTime)
//先去取出所有的正在进行的活动列表 //先去取出所有的正在进行的活动列表
var giftActivityList []model.GiftActivity var giftActivityList []model.GiftActivity
err = specialDb.Reset().Table(&giftActivityList).Fields("id,start_time,end_time"). err = specialDb.Reset().Table(&giftActivityList).Fields("id,start_time,end_time").
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment