初始门票
This commit is contained in:
parent
297fbdfca6
commit
5d555698ab
@ -8,7 +8,6 @@ import (
|
||||
"go_dreamfactory/modules"
|
||||
"go_dreamfactory/pb"
|
||||
"go_dreamfactory/sys/configure"
|
||||
"go_dreamfactory/utils"
|
||||
|
||||
"go.mongodb.org/mongo-driver/bson"
|
||||
"go.mongodb.org/mongo-driver/bson/primitive"
|
||||
@ -49,7 +48,7 @@ func (this *modelCaravan) getCaravanList(uid string) (result *pb.DBCaravan, err
|
||||
result.Id = primitive.NewObjectID().Hex()
|
||||
// 活动持续时间
|
||||
|
||||
result.Resettime = utils.WeekIntervalTime()
|
||||
//result.Resettime = utils.WeekIntervalTime()
|
||||
result.Citystime = configure.Now().Unix()
|
||||
result.Rtime = configure.Now().Unix()
|
||||
|
||||
|
@ -122,7 +122,7 @@ func (this *Caravan) InitCaravanCityData(uid string, data *pb.DBCaravan) {
|
||||
city.NextexspecialPCT = v.Exspecialnum[int(comm.GetRandW(v.ExspecialnumWeight))] // 获取权重
|
||||
data.City[v.Id] = city
|
||||
}
|
||||
//data.Citystime = utils.GetZeroTime(configure.Now().Unix())
|
||||
data.Citystime = utils.GetZeroTime(configure.Now().Unix())
|
||||
data.Rtime = configure.Now().Unix() // 修改时间
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user