controller

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2023 License: MulanPSL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseController

type BaseController struct {
}

func (*BaseController) Fail

func (base *BaseController) Fail(ctx *gin.Context, data interface{}, msg string)

失败

func (*BaseController) NotLogin

func (base *BaseController) NotLogin(ctx *gin.Context)

未登录

func (*BaseController) Success

func (base *BaseController) Success(ctx *gin.Context, data interface{})

成功

Jump to

Keyboard shortcuts

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