app-cloudep-trade-service/internal/logic/walletservice/unfreeze_funds_logic.go

32 lines
717 B
Go

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