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 FreezeFundsLogic struct { ctx context.Context svcCtx *svc.ServiceContext logx.Logger } func NewFreezeFundsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FreezeFundsLogic { return &FreezeFundsLogic{ ctx: ctx, svcCtx: svcCtx, Logger: logx.WithContext(ctx), } } // FreezeFunds 凍結 - 將 [可用餘額] 減少,加到 [凍結餘額] func (l *FreezeFundsLogic) FreezeFunds(in *trade.WalletTransactionReq) (*trade.OKResp, error) { // todo: add your logic here and delete this line return &trade.OKResp{}, nil }