diff --git a/app/mix/controller/vas_op.go b/app/mix/controller/vas_op.go index 39d1e782..2896226f 100644 --- a/app/mix/controller/vas_op.go +++ b/app/mix/controller/vas_op.go @@ -80,7 +80,7 @@ func OpRollbackZoneAdmissionExitStatus(ctx *gin.Context) { req := ctx.MustGet("client_req").(*zoneproto.OpRollbackZoneExitStatusParam) ec, err := service.DefaultService.OpRollbackZoneAdmissionExitStatus(ctx, req) if ec != errcode.ErrCodeVasSrvOk { - logger.Error("RefundOrder fail, req: %v, ec: %v", util.ToJson(req), ec) + logger.Error("OpRollbackZoneAdmissionExitStatus fail, req: %v, ec: %v", util.ToJson(req), ec) if err != nil { ReplyErrorMsg(ctx, err.Error()) return diff --git a/app/mix/service/vasservice.go b/app/mix/service/vasservice.go index 3c85d07f..ff04a28f 100644 --- a/app/mix/service/vasservice.go +++ b/app/mix/service/vasservice.go @@ -1177,6 +1177,10 @@ func (s *Service) VasIncomePage(ctx *gin.Context, req *vasproto.IncomePageReq) ( } func (s *Service) OpRollbackZoneAdmissionExitStatus(ctx *gin.Context, req *zoneproto.OpRollbackZoneExitStatusParam) (ec errcode.ErrCode, err error) { + defer func() { + ec, err = errs.DealVasErr(err) + }() + // 获取用户mid userAcnt, _ := _DefaultAccount.OpListByUserId(ctx, &accountproto.OpListByUserIdReq{UserId: goproto.Int64(req.Userid)}) @@ -1229,6 +1233,6 @@ func (s *Service) OpRollbackZoneAdmissionExitStatus(ctx *gin.Context, req *zonep logger.Error("RollbackZoneAdmissionExitStatus fail, mid: %v, sMid: %v, zid: %v, zu: %v, err: %v", uMid, sMid, zid, util.ToJson(zu), err) return } - logger.Info("RollbackZoneAdmissionExitStatus success, uid: %v, suid: %v, mid: %v, sMid: %v, zid: %v", req.Userid, req.StreamerUserid, uMid, sMid, zid) + logger.Info("RollbackZoneAdmissionExitStatus success, uid: %v, suid: %v, mid: %v, sMid: %v, zu: %v", req.Userid, req.StreamerUserid, uMid, sMid, util.ToJson(zu)) return }