Documentation ¶
Index ¶
- type TSysUserJsonResult
- func (result *TSysUserJsonResult) Fail() *TSysUserJsonResult
- func (result *TSysUserJsonResult) FailCodeMsg(code int32, msg string) *TSysUserJsonResult
- func (result *TSysUserJsonResult) FailMessage(msg string) *TSysUserJsonResult
- func (result *TSysUserJsonResult) String() string
- func (result *TSysUserJsonResult) Success() *TSysUserJsonResult
- func (result *TSysUserJsonResult) SuccessData(data model.TSysUser) *TSysUserJsonResult
- func (result *TSysUserJsonResult) SuccessMessage(msg string) *TSysUserJsonResult
- func (result *TSysUserJsonResult) ToString() string
- type TSysUserPageResult
- func (result *TSysUserPageResult) Fail() *TSysUserPageResult
- func (result *TSysUserPageResult) FailCodeMsg(code int32, msg string) *TSysUserPageResult
- func (result *TSysUserPageResult) FailMessage(msg string) *TSysUserPageResult
- func (result *TSysUserPageResult) GetData() []model.TSysUser
- func (result *TSysUserPageResult) SetData(s []model.TSysUser)
- func (result *TSysUserPageResult) String() string
- func (result *TSysUserPageResult) Success() *TSysUserPageResult
- func (result *TSysUserPageResult) SuccessData(data []model.TSysUser) *TSysUserPageResult
- func (result *TSysUserPageResult) SuccessMessage(msg string) *TSysUserPageResult
- func (result *TSysUserPageResult) ToString() string
- type TSysUserParam
- type TSysUserQueryParam
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TSysUserJsonResult ¶
type TSysUserJsonResult struct { Code int32 `json:"code"` Msg string `json:"msg"` Data *model.TSysUser `json:"data"` }
func (*TSysUserJsonResult) Fail ¶
func (result *TSysUserJsonResult) Fail() *TSysUserJsonResult
func (*TSysUserJsonResult) FailCodeMsg ¶
func (result *TSysUserJsonResult) FailCodeMsg(code int32, msg string) *TSysUserJsonResult
func (*TSysUserJsonResult) FailMessage ¶
func (result *TSysUserJsonResult) FailMessage(msg string) *TSysUserJsonResult
func (*TSysUserJsonResult) String ¶
func (result *TSysUserJsonResult) String() string
func (*TSysUserJsonResult) Success ¶
func (result *TSysUserJsonResult) Success() *TSysUserJsonResult
func (*TSysUserJsonResult) SuccessData ¶
func (result *TSysUserJsonResult) SuccessData(data model.TSysUser) *TSysUserJsonResult
func (*TSysUserJsonResult) SuccessMessage ¶
func (result *TSysUserJsonResult) SuccessMessage(msg string) *TSysUserJsonResult
func (*TSysUserJsonResult) ToString ¶
func (result *TSysUserJsonResult) ToString() string
type TSysUserPageResult ¶
type TSysUserPageResult struct { Code int32 `json:"code"` Msg string `json:"msg"` Page basedto.PageParam `json:"page"` Data []model.TSysUser `json:"data"` }
func (*TSysUserPageResult) Fail ¶
func (result *TSysUserPageResult) Fail() *TSysUserPageResult
func (*TSysUserPageResult) FailCodeMsg ¶
func (result *TSysUserPageResult) FailCodeMsg(code int32, msg string) *TSysUserPageResult
func (*TSysUserPageResult) FailMessage ¶
func (result *TSysUserPageResult) FailMessage(msg string) *TSysUserPageResult
func (*TSysUserPageResult) GetData ¶
func (result *TSysUserPageResult) GetData() []model.TSysUser
func (*TSysUserPageResult) SetData ¶
func (result *TSysUserPageResult) SetData(s []model.TSysUser)
func (*TSysUserPageResult) String ¶
func (result *TSysUserPageResult) String() string
func (*TSysUserPageResult) Success ¶
func (result *TSysUserPageResult) Success() *TSysUserPageResult
func (*TSysUserPageResult) SuccessData ¶
func (result *TSysUserPageResult) SuccessData(data []model.TSysUser) *TSysUserPageResult
func (*TSysUserPageResult) SuccessMessage ¶
func (result *TSysUserPageResult) SuccessMessage(msg string) *TSysUserPageResult
func (*TSysUserPageResult) ToString ¶
func (result *TSysUserPageResult) ToString() string
type TSysUserParam ¶
type TSysUserQueryParam ¶
type TSysUserQueryParam struct { Current int32 `json:"current"` PageSize int32 `json:"page_size"` OrderBys string `json:"order_bys"` FuzzyQuery bool `json:"fuzzy_query"` EsQuery bool `json:"es_query"` Param *TSysUserParam `json:"param"` }
func (*TSysUserQueryParam) Ini ¶
func (param *TSysUserQueryParam) Ini()
func (*TSysUserQueryParam) String ¶
func (param *TSysUserQueryParam) String() string
func (*TSysUserQueryParam) ToString ¶
func (param *TSysUserQueryParam) ToString() string
Click to show internal directories.
Click to hide internal directories.