add log
This commit is contained in:
parent
01e4bfcd8c
commit
8950b008e6
|
@ -2380,7 +2380,9 @@ func (s *Service) ApiGetZoneListByUserIdFromOutside(ctx *gin.Context, req *zonep
|
|||
}
|
||||
zid := list[0].GetId()
|
||||
zidZuMap, _ := _DefaultVas.GetZoneUnlockMapByMidZids(ctx, mid, []int64{zid})
|
||||
logger.Info("_ZU mid: %v, zid: %v, zidZuMap: %v", mid, zid, util.ToJson(zidZuMap))
|
||||
if zu, ok := zidZuMap[zid]; ok {
|
||||
logger.Info("_ZU mid: %v, zid: %v, zu: %v", mid, zid, util.ToJson(zu))
|
||||
if time.Now().Unix()-zu.GetAdmissionCt() < 3600*2 {
|
||||
refundEnable = 1
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue