baizeContext

package
v0.0.0-...-7bb2ca5 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaiZeContext

type BaiZeContext struct {
	*gin.Context
}

func NewBaiZeContext

func NewBaiZeContext(c *gin.Context) *BaiZeContext

func (*BaiZeContext) DataPackageExcel

func (bzc *BaiZeContext) DataPackageExcel(data []byte)

func (*BaiZeContext) DataPackageZip

func (bzc *BaiZeContext) DataPackageZip(data []byte)

func (*BaiZeContext) GetCurrentUser

func (bzc *BaiZeContext) GetCurrentUser() (loginUser *systemModels.LoginUser)

func (*BaiZeContext) GetUser

func (bzc *BaiZeContext) GetUser() (user *systemModels.User)

func (*BaiZeContext) GetUserId

func (bzc *BaiZeContext) GetUserId() int64

func (*BaiZeContext) GetUserName

func (bzc *BaiZeContext) GetUserName() string

func (*BaiZeContext) InvalidToken

func (bzc *BaiZeContext) InvalidToken()

func (*BaiZeContext) ParamInt64

func (bzc *BaiZeContext) ParamInt64(key string) int64

func (*BaiZeContext) ParamInt64Array

func (bzc *BaiZeContext) ParamInt64Array(key string) []int64

func (*BaiZeContext) ParamStringArray

func (bzc *BaiZeContext) ParamStringArray(key string) []string

func (*BaiZeContext) ParameterError

func (bzc *BaiZeContext) ParameterError()

func (*BaiZeContext) PermissionDenied

func (bzc *BaiZeContext) PermissionDenied()

func (*BaiZeContext) QueryInt64

func (bzc *BaiZeContext) QueryInt64(key string) int64

func (*BaiZeContext) QueryInt64Array

func (bzc *BaiZeContext) QueryInt64Array(key string) []int64

func (*BaiZeContext) SetUserAgent

func (bzc *BaiZeContext) SetUserAgent(login *monitorModels.Logininfor)

func (*BaiZeContext) Success

func (bzc *BaiZeContext) Success()

func (*BaiZeContext) SuccessData

func (bzc *BaiZeContext) SuccessData(data interface{})

func (*BaiZeContext) SuccessListData

func (bzc *BaiZeContext) SuccessListData(rows interface{}, total *int64)

func (*BaiZeContext) SuccessMsg

func (bzc *BaiZeContext) SuccessMsg(msg string)

func (*BaiZeContext) Waring

func (bzc *BaiZeContext) Waring(msg string)

Jump to

Keyboard shortcuts

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