dao

package
v0.0.0-...-e809d31 Latest Latest
Warning

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

Go to latest
Published: May 17, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pay

type Pay struct {
	// contains filtered or unexported fields
}

func NewPayDao

func NewPayDao(db *gorm.DB) *Pay

func (*Pay) CreatePay

func (p *Pay) CreatePay(payInfo *model.Pay) error

func (*Pay) GetPay

func (p *Pay) GetPay(id int64) (payInfo *model.Pay, err error)

func (*Pay) UpdatePayStatus

func (p *Pay) UpdatePayStatus(id int64, status int8) error

Jump to

Keyboard shortcuts

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