package walletservicelogic import ( "context" "app-cloudep-trade-service/gen_result/pb/trade" "app-cloudep-trade-service/internal/svc" "github.com/zeromicro/go-zero/core/logx" ) type CancelFreezeLogic struct { ctx context.Context svcCtx *svc.ServiceContext logx.Logger } func NewCancelFreezeLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CancelFreezeLogic { return &CancelFreezeLogic{ ctx: ctx, svcCtx: svcCtx, Logger: logx.WithContext(ctx), } } // CancelFreeze 取消凍結 - 減少 [凍結餘額],加回 [可用餘額],可指定金額 func (l *CancelFreezeLogic) CancelFreeze(in *trade.WalletTransactionReq) (*trade.OKResp, error) { // todo: add your logic here and delete this line return &trade.OKResp{}, nil }