temp
This commit is contained in:
31
apps/user/internal/logic/walletservice/getdeductionslogic.go
Normal file
31
apps/user/internal/logic/walletservice/getdeductionslogic.go
Normal file
@@ -0,0 +1,31 @@
|
||||
package walletservicelogic
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"tianyuan-api/apps/user/internal/svc"
|
||||
"tianyuan-api/apps/user/user"
|
||||
|
||||
"github.com/zeromicro/go-zero/core/logx"
|
||||
)
|
||||
|
||||
type GetDeductionsLogic struct {
|
||||
ctx context.Context
|
||||
svcCtx *svc.ServiceContext
|
||||
logx.Logger
|
||||
}
|
||||
|
||||
func NewGetDeductionsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetDeductionsLogic {
|
||||
return &GetDeductionsLogic{
|
||||
ctx: ctx,
|
||||
svcCtx: svcCtx,
|
||||
Logger: logx.WithContext(ctx),
|
||||
}
|
||||
}
|
||||
|
||||
// 查询扣款记录
|
||||
func (l *GetDeductionsLogic) GetDeductions(in *user.GetDeductionsRequest) (*user.GetDeductionsResponse, error) {
|
||||
// todo: add your logic here and delete this line
|
||||
|
||||
return &user.GetDeductionsResponse{}, nil
|
||||
}
|
||||
Reference in New Issue
Block a user