business

package
v0.0.0-...-02a526c Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BusinessUserSet = wire.NewSet(wire.Struct(new(BusinessUser), "*"))

Functions

This section is empty.

Types

type BusinessUser

type BusinessUser struct {
	Model *model.ModelUser
	Tx    *core.Trans
	Redis *redis.Client
}

func (*BusinessUser) DeleteLogin

func (b *BusinessUser) DeleteLogin(c *gin.Context) error

func (*BusinessUser) GetUserByUserID

func (b *BusinessUser) GetUserByUserID(c *gin.Context) (*schema.UserRes, error)

func (*BusinessUser) PostLogin

func (b *BusinessUser) PostLogin(c *gin.Context) (*schema.TokenRes, error)

Jump to

Keyboard shortcuts

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