handler

package
v0.0.0-...-00ec2d6 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2021 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitDB

func InitDB()

func InitHandler

func InitHandler()

func InitViper

func InitViper()

Types

type AccountHandler

type AccountHandler struct {
	Srv *service.AccountService
}
var (
	DB            *gorm.DB
	AccountHandle AccountHandler
)

func (*AccountHandler) AccountCreate

func (h *AccountHandler) AccountCreate(c *gin.Context)

新建一个account.

func (*AccountHandler) Delete

func (h *AccountHandler) Delete(c *gin.Context)

func (*AccountHandler) GetAccount

func (h *AccountHandler) GetAccount(c *gin.Context)

func (*AccountHandler) ListAccount

func (h *AccountHandler) ListAccount(c *gin.Context)

func (*AccountHandler) Login

func (h *AccountHandler) Login(c *gin.Context)

func (*AccountHandler) Update

func (h *AccountHandler) Update(c *gin.Context)

func (*AccountHandler) WXLogin

func (h *AccountHandler) WXLogin(c *gin.Context)

微信小程序登录

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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