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

32 lines
747 B
Go
Raw Normal View History

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 QueryBalanceLogic struct {
ctx context.Context
svcCtx *svc.ServiceContext
logx.Logger
}
func NewQueryBalanceLogic(ctx context.Context, svcCtx *svc.ServiceContext) *QueryBalanceLogic {
return &QueryBalanceLogic{
ctx: ctx,
svcCtx: svcCtx,
Logger: logx.WithContext(ctx),
}
}
// QueryBalance 餘額查詢 -> 依照日期查詢
func (l *QueryBalanceLogic) QueryBalance(in *trade.QueryBalanceByDateReq) (*trade.QueryBalanceByDateResp, error) {
// todo: add your logic here and delete this line
return &trade.QueryBalanceByDateResp{}, nil
}