Documentation ¶
Index ¶
- type BaiZeContext
- func (bzc *BaiZeContext) DataPackageExcel(data []byte)
- func (bzc *BaiZeContext) DataPackageZip(data []byte)
- func (bzc *BaiZeContext) GetCurrentUser() (loginUser *systemModels.LoginUser)
- func (bzc *BaiZeContext) GetUser() (user *systemModels.User)
- func (bzc *BaiZeContext) GetUserId() int64
- func (bzc *BaiZeContext) GetUserName() string
- func (bzc *BaiZeContext) InvalidToken()
- func (bzc *BaiZeContext) ParamInt64(key string) int64
- func (bzc *BaiZeContext) ParamInt64Array(key string) []int64
- func (bzc *BaiZeContext) ParamStringArray(key string) []string
- func (bzc *BaiZeContext) ParameterError()
- func (bzc *BaiZeContext) PermissionDenied()
- func (bzc *BaiZeContext) QueryInt64(key string) int64
- func (bzc *BaiZeContext) QueryInt64Array(key string) []int64
- func (bzc *BaiZeContext) SetUserAgent(login *monitorModels.Logininfor)
- func (bzc *BaiZeContext) Success()
- func (bzc *BaiZeContext) SuccessData(data interface{})
- func (bzc *BaiZeContext) SuccessListData(rows interface{}, total *int64)
- func (bzc *BaiZeContext) SuccessMsg(msg string)
- func (bzc *BaiZeContext) Waring(msg string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaiZeContext ¶
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)
Click to show internal directories.
Click to hide internal directories.