withdraw

package
v0.0.0-...-0818f1f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2025 License: MIT, MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WithdrawModel

type WithdrawModel struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewWithdrawModel

func NewWithdrawModel(ctx context.Context, db *gorm.DB) *WithdrawModel

func (*WithdrawModel) DeductBalance

func (l *WithdrawModel) DeductBalance(tx *gorm.DB, userId int64, amount float64) error

func (*WithdrawModel) Withdraw

func (*WithdrawModel) WithdrawFail

func (l *WithdrawModel) WithdrawFail(in *rpc.FailWithDrawReq) error

func (*WithdrawModel) WithdrawListPage

func (l *WithdrawModel) WithdrawListPage(in *rpc.FindWithDrawReq) (*rpc.FindWithDrawRes, error)

func (*WithdrawModel) WithdrawLock

func (l *WithdrawModel) WithdrawLock(in *rpc.LockWithDrawReq) (*rpc.LockWithDrawRes, error)

func (*WithdrawModel) WithdrawPass

func (l *WithdrawModel) WithdrawPass(in *rpc.PassWithDrawReq) (*rpc.PassWithDrawRes, error)

func (*WithdrawModel) WithdrawRefuse

func (l *WithdrawModel) WithdrawRefuse(in *rpc.RefuseWithDrawReq) (*rpc.RefuseWithDrawRes, error)

func (*WithdrawModel) WithdrawSuccess

func (l *WithdrawModel) WithdrawSuccess(in *rpc.SuccessWithDrawReq) (*rpc.SuccessWithDrawRes, error)

func (*WithdrawModel) WithdrawTypeUpdate

func (*WithdrawModel) WithdrawUnlock

func (l *WithdrawModel) WithdrawUnlock(in *rpc.UnlockWithDrawReq) (*rpc.UnlockWithDrawRes, error)

func (*WithdrawModel) WithdrawUserListPage

func (l *WithdrawModel) WithdrawUserListPage(in *rpc.UserFindWithDrawReq) (*rpc.UserFindWithDrawRes, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL