generated from root/miduo_server
定时任务,每天23:50,每个服插入一条数据为0的第二天的充值数据2
parent
513c2696d4
commit
4b43d2a7c8
|
|
@ -958,6 +958,7 @@ func initServerPayInfo() {
|
|||
statisticalRecharge := gameinfo.StatisticalRecharge{}
|
||||
tomorrow := time.Now().AddDate(0, 0, 1).Format("2006-01-02")
|
||||
statisticalRecharge.CreatDay = tomorrow
|
||||
statisticalRecharge.Id = primitive.NewObjectID()
|
||||
//统计新增充值(当日注册且付费的人数和金额、付费次数)
|
||||
statisticalRecharge.NewRechargeNum = gconv.Int(0)
|
||||
statisticalRecharge.NewRechargeAmount = gconv.Float64(0)
|
||||
|
|
|
|||
Loading…
Reference in New Issue