Merge branch 'feat-IRONFANS-70' into test
This commit is contained in:
commit
ff3e66eca6
|
@ -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