Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TplGaAuth = `` /* 1798-byte string literal not displayed */
Functions ¶
Types ¶
type BaseController ¶
type BaseController struct { controllers.BaseMainController LoginAdminId int64 LoginAdminUsername string LoginAdminName string LoginAdminOrgId int64 }
func (*BaseController) GetPaginateParam ¶
func (c *BaseController) GetPaginateParam() (limit, page int, offset int64)
limit, page, offset (default is 10, 1, 0)
func (*BaseController) Prepare ¶
func (c *BaseController) Prepare()
func (*BaseController) SetPaginator ¶
func (c *BaseController) SetPaginator(per int, nums int64)
func (*BaseController) SetTplCondition ¶
func (c *BaseController) SetTplCondition(cond map[string]string)
type BaseIndexController ¶
type BaseIndexController struct {
BaseController
}
func (*BaseIndexController) Get ¶
func (c *BaseIndexController) Get()
func (*BaseIndexController) NestPrepare ¶
func (c *BaseIndexController) NestPrepare()
type NestPreparer ¶
type NestPreparer interface {
NestPrepare()
}
type SyscommonController ¶
type SyscommonController struct {
BaseController
}
func (*SyscommonController) Download ¶
func (c *SyscommonController) Download()
func (*SyscommonController) Upload ¶
func (c *SyscommonController) Upload()
后台通用文件上传接口,上传的文件默认保存于upload目录下。静态资源。
func (*SyscommonController) UploadMulti ¶
func (c *SyscommonController) UploadMulti()
后台通用多文件上传接口,上传的文件默认保存于upload目录下。静态资源。
Click to show internal directories.
Click to hide internal directories.