new
This commit is contained in:
@@ -45,3 +45,15 @@ func (s *WalletServiceServer) GetDeductionByTransactionId(ctx context.Context, i
|
||||
l := walletservicelogic.NewGetDeductionByTransactionIdLogic(ctx, s.svcCtx)
|
||||
return l.GetDeductionByTransactionId(in)
|
||||
}
|
||||
|
||||
// 定义充值请求接口
|
||||
func (s *WalletServiceServer) RechargeWallet(ctx context.Context, in *user.RechargeWalletRequest) (*user.RechargeWalletResponse, error) {
|
||||
l := walletservicelogic.NewRechargeWalletLogic(ctx, s.svcCtx)
|
||||
return l.RechargeWallet(in)
|
||||
}
|
||||
|
||||
// 充值记录列表篇
|
||||
func (s *WalletServiceServer) GetRechargeList(ctx context.Context, in *user.RechargeRequest) (*user.RechargeResponse, error) {
|
||||
l := walletservicelogic.NewGetRechargeListLogic(ctx, s.svcCtx)
|
||||
return l.GetRechargeList(in)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user