fronted

package
v0.0.0-...-7b661e0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

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) PageError

func (c *BaseController) PageError(msg string)

重定向 去错误页

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
}

func (*ExtController) GenClass

func (c *ExtController) GenClass()

自动生成课表

func (*ExtController) StudentStatus

func (c *ExtController) StudentStatus()

更改学生状态

func (*ExtController) TeamStatus

func (c *ExtController) TeamStatus()

班组状态

type MainController

type MainController struct {
	BaseController
}

func (*MainController) Index

func (c *MainController) Index()

func (*MainController) Mindex

func (c *MainController) Mindex()

移动端首页

func (*MainController) Prepare

func (c *MainController) Prepare()
type NavId struct {
	Id         int
	SchoolName string
	Sort       int
}

type NewsController

type NewsController struct {
	BaseController
}

func (*NewsController) Detail

func (c *NewsController) Detail()

func (*NewsController) List

func (c *NewsController) List()

新闻列表

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()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL