From 10e55130a9495f23ac91b62c10c853d3cc9d1b69 Mon Sep 17 00:00:00 2001 From: lwl0608 Date: Wed, 29 May 2024 16:57:45 +0800 Subject: [PATCH] fix s w --- app/mix/service/vasservice.go | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/app/mix/service/vasservice.go b/app/mix/service/vasservice.go index 5fa84510..d242e824 100644 --- a/app/mix/service/vasservice.go +++ b/app/mix/service/vasservice.go @@ -4,7 +4,6 @@ import ( "encoding/base64" "fmt" goproto "google.golang.org/protobuf/proto" - "service/api/base" "service/api/errcode" "service/api/errs" accountproto "service/api/proto/account/proto" @@ -1073,14 +1072,7 @@ func (s *Service) ZoneMomentOrderList(ctx *gin.Context, req *vasproto.ZoneMoment } func (s *Service) OpManualUnlockWechat(ctx *gin.Context, req *zoneproto.OpManualUnlockWechatParam) (ec errcode.ErrCode, err error) { - _, _, _, err = _DefaultVas.OneStepUnlockContact(ctx, &vasproto.OneStepUnlockContactReq{ - BaseRequest: base.BaseRequest{ - Mid: req.Mid, - }, - ContactProductId: req.ProductId, - Uid: req.StreamerMid, - Oid2: req.Oid2, - }) + err = _DefaultVas.SuperfanUnlockContact(ctx, nil, req.Mid, req.StreamerMid, req.Oid2) ec, err = errs.DealVasErr(err) if err != nil { logger.Error("OneStepUnlockContact fail, req: %v, err: %v", util.ToJson(req), err)