Commit db29a0b8 by mushishixian

活动统计修改时间测试

parent e39a25cd
Showing with 6 additions and 5 deletions
......@@ -4,16 +4,17 @@ import (
"encoding/json"
"flag"
"fmt"
"go-queue-server/special/activity_statistics/model"
"go-queue-server/util"
"strconv"
"time"
_ "github.com/go-sql-driver/mysql"
"github.com/gohouse/gorose/v2"
"github.com/ichunt2019/logger"
"github.com/tidwall/gjson"
"go-queue-server/special/activity_statistics/model"
"go-queue-server/util"
"gopkg.in/mgo.v2"
"gopkg.in/mgo.v2/bson"
"strconv"
"time"
)
var ConfigDir string
......@@ -102,7 +103,7 @@ func main() {
if updateTime == nil {
updateTime = 1
}
updateTime = 1
//先去取出所有的正在进行的活动列表
var giftActivityList []model.GiftActivity
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