Documentation ¶
Index ¶
- type CmsContentJsonResult
- func (result *CmsContentJsonResult) Fail() *CmsContentJsonResult
- func (result *CmsContentJsonResult) FailCodeMsg(code int32, msg string) *CmsContentJsonResult
- func (result *CmsContentJsonResult) FailMessage(msg string) *CmsContentJsonResult
- func (result *CmsContentJsonResult) String() string
- func (result *CmsContentJsonResult) Success() *CmsContentJsonResult
- func (result *CmsContentJsonResult) SuccessData(data model.CmsContent) *CmsContentJsonResult
- func (result *CmsContentJsonResult) SuccessMessage(msg string) *CmsContentJsonResult
- func (result *CmsContentJsonResult) ToString() string
- type CmsContentPageResult
- func (result *CmsContentPageResult) Fail() *CmsContentPageResult
- func (result *CmsContentPageResult) FailCodeMsg(code int32, msg string) *CmsContentPageResult
- func (result *CmsContentPageResult) FailMessage(msg string) *CmsContentPageResult
- func (result *CmsContentPageResult) GetData() []model.CmsContent
- func (result *CmsContentPageResult) SetData(s []model.CmsContent)
- func (result *CmsContentPageResult) String() string
- func (result *CmsContentPageResult) Success() *CmsContentPageResult
- func (result *CmsContentPageResult) SuccessData(data []model.CmsContent) *CmsContentPageResult
- func (result *CmsContentPageResult) SuccessMessage(msg string) *CmsContentPageResult
- func (result *CmsContentPageResult) ToString() string
- type CmsContentParam
- type CmsContentQueryParam
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CmsContentJsonResult ¶
type CmsContentJsonResult struct { Code int32 `json:"code"` Msg string `json:"msg"` Data *model.CmsContent `json:"data"` }
func (*CmsContentJsonResult) Fail ¶
func (result *CmsContentJsonResult) Fail() *CmsContentJsonResult
func (*CmsContentJsonResult) FailCodeMsg ¶
func (result *CmsContentJsonResult) FailCodeMsg(code int32, msg string) *CmsContentJsonResult
func (*CmsContentJsonResult) FailMessage ¶
func (result *CmsContentJsonResult) FailMessage(msg string) *CmsContentJsonResult
func (*CmsContentJsonResult) String ¶
func (result *CmsContentJsonResult) String() string
func (*CmsContentJsonResult) Success ¶
func (result *CmsContentJsonResult) Success() *CmsContentJsonResult
func (*CmsContentJsonResult) SuccessData ¶
func (result *CmsContentJsonResult) SuccessData(data model.CmsContent) *CmsContentJsonResult
func (*CmsContentJsonResult) SuccessMessage ¶
func (result *CmsContentJsonResult) SuccessMessage(msg string) *CmsContentJsonResult
func (*CmsContentJsonResult) ToString ¶
func (result *CmsContentJsonResult) ToString() string
type CmsContentPageResult ¶
type CmsContentPageResult struct { Code int32 `json:"code"` Msg string `json:"msg"` Page basedto.PageParam `json:"page"` Data []model.CmsContent `json:"data"` }
func (*CmsContentPageResult) Fail ¶
func (result *CmsContentPageResult) Fail() *CmsContentPageResult
func (*CmsContentPageResult) FailCodeMsg ¶
func (result *CmsContentPageResult) FailCodeMsg(code int32, msg string) *CmsContentPageResult
func (*CmsContentPageResult) FailMessage ¶
func (result *CmsContentPageResult) FailMessage(msg string) *CmsContentPageResult
func (*CmsContentPageResult) GetData ¶
func (result *CmsContentPageResult) GetData() []model.CmsContent
func (*CmsContentPageResult) SetData ¶
func (result *CmsContentPageResult) SetData(s []model.CmsContent)
func (*CmsContentPageResult) String ¶
func (result *CmsContentPageResult) String() string
func (*CmsContentPageResult) Success ¶
func (result *CmsContentPageResult) Success() *CmsContentPageResult
func (*CmsContentPageResult) SuccessData ¶
func (result *CmsContentPageResult) SuccessData(data []model.CmsContent) *CmsContentPageResult
func (*CmsContentPageResult) SuccessMessage ¶
func (result *CmsContentPageResult) SuccessMessage(msg string) *CmsContentPageResult
func (*CmsContentPageResult) ToString ¶
func (result *CmsContentPageResult) ToString() string
type CmsContentParam ¶
type CmsContentQueryParam ¶
type CmsContentQueryParam 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 *CmsContentParam `json:"param"` }
func (*CmsContentQueryParam) Ini ¶
func (param *CmsContentQueryParam) Ini()
func (*CmsContentQueryParam) String ¶
func (param *CmsContentQueryParam) String() string
func (*CmsContentQueryParam) ToString ¶
func (param *CmsContentQueryParam) ToString() string
Click to show internal directories.
Click to hide internal directories.