diff --git a/app/mix/service/apiservice.go b/app/mix/service/apiservice.go index ae849677..3b646abf 100644 --- a/app/mix/service/apiservice.go +++ b/app/mix/service/apiservice.go @@ -3059,7 +3059,7 @@ func (s *Service) ApiGetZoneListByMid(ctx *gin.Context, req *zoneproto.ApiListBy logger.Info("_ZU mid: %v, zid: %v, zidZuMapTmp: %v", req.BaseRequest.Mid, zid, util.ToJson(zidZuMapTmp)) if zu, ok := zidZuMapTmp[zid]; ok { logger.Info("_ZU mid: %v, zid: %v, zu: %v", req.BaseRequest.Mid, zid, util.ToJson(zu)) - if time.Now().Unix()-zu.GetAdmissionCt() < 3600*48 { + if time.Now().Unix()-zu.GetAdmissionCt() < 3600*2 { refundEnable = 1 } if zu.GetAdmissionUnlockType() == dbstruct.ZoneUnlockTypeRefund { diff --git a/app/mix/service/logic/vas_zone.go b/app/mix/service/logic/vas_zone.go index d55c7afa..a3d7a021 100644 --- a/app/mix/service/logic/vas_zone.go +++ b/app/mix/service/logic/vas_zone.go @@ -10,7 +10,6 @@ import ( "service/bizcommon/util" "service/dbstruct" "service/library/logger" - "service/library/payclients/alipaycli" "service/library/redis" "time" @@ -1090,9 +1089,9 @@ func (v *Vas) ZoneRefund(ctx *gin.Context, req *vasproto.ZoneRefundReq) error { logger.Error("get zone admission order info fail, mid: %v, zid: %v, orderId: %v, err: %v", req.Mid, req.Zid, zv.GetAdmissionOrderId(), err) return err } - if order.GetOid3() == alipaycli.AppIdMiYuanTianShi { - return fmt.Errorf("订单正在处理,请24小时后重试") - } + //if order.GetOid3() == alipaycli.AppIdMiYuanTianShi { + // return fmt.Errorf("订单正在处理,请24小时后重试") + //} // 退款 err = v.RefundOrder(ctx, &vasproto.RefundOrderReq{