Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseController ¶
type BaseController struct { beego.Controller ControllerName string //当前控制名称 ActionName string //当前action名称 }
func (*BaseController) JsonResult ¶
func (c *BaseController) JsonResult(code enums.JsonResultCode, msg string, obj interface{})
func (*BaseController) Prepare ¶
func (c *BaseController) Prepare()
func (*BaseController) SetMTpl ¶
func (c *BaseController) SetMTpl(template ...string)
第一个参数模板,第二个参数为layout 移动端模板
func (*BaseController) SetTpl ¶
func (c *BaseController) SetTpl(template ...string)
设置模板 第一个参数模板,第二个参数为layout
type ExtController ¶
type ExtController struct {
BaseController
}
type MainController ¶
type MainController struct {
BaseController
}
func (*MainController) Index ¶
func (c *MainController) Index()
func (*MainController) Prepare ¶
func (c *MainController) Prepare()
type NewsController ¶
type NewsController struct {
BaseController
}
func (*NewsController) Detail ¶
func (c *NewsController) Detail()
func (*NewsController) Mdetail ¶
func (c *NewsController) Mdetail()
func (*NewsController) Mlist ¶
func (c *NewsController) Mlist()
func (*NewsController) Prepare ¶
func (c *NewsController) Prepare()
type ProjectController ¶
type ProjectController struct {
BaseController
}
func (*ProjectController) List ¶
func (c *ProjectController) List()
func (*ProjectController) Mlist ¶
func (c *ProjectController) Mlist()
func (*ProjectController) Prepare ¶
func (c *ProjectController) Prepare()
type RecruitController ¶
type RecruitController struct {
BaseController
}
func (*RecruitController) List ¶
func (c *RecruitController) List()
func (*RecruitController) Mlist ¶
func (c *RecruitController) Mlist()
func (*RecruitController) Prepare ¶
func (c *RecruitController) Prepare()
type StaffController ¶
type StaffController struct {
BaseController
}
func (*StaffController) List ¶
func (c *StaffController) List()
func (*StaffController) Mlist ¶
func (c *StaffController) Mlist()
func (*StaffController) Prepare ¶
func (c *StaffController) Prepare()
type UsController ¶
type UsController struct {
BaseController
}
func (*UsController) List ¶
func (c *UsController) List()
func (*UsController) Mlist ¶
func (c *UsController) Mlist()
func (*UsController) Prepare ¶
func (c *UsController) Prepare()
Source Files ¶
Click to show internal directories.
Click to hide internal directories.