Documentation
¶
Index ¶
- type CategoryController
- type HomeController
- type TopicController
- func (this *TopicController) Add()
- func (this *TopicController) AddTopic()
- func (this *TopicController) DeleteTopic()
- func (this *TopicController) ModifyTopic()
- func (this *TopicController) ModifyTopicAction()
- func (this *TopicController) ViewTopic()
- func (this *TopicController) ViewTopicByCategoryName()
- type UserController
- func (this *UserController) DeleteUser()
- func (this *UserController) GetPwd()
- func (this *UserController) GetPwdAction()
- func (this *UserController) GetUserInfo()
- func (this *UserController) Login()
- func (this *UserController) LoginAction()
- func (this *UserController) Logout()
- func (this *UserController) ModifyPWD()
- func (this *UserController) ModifyPWDAction()
- func (this *UserController) NewCaptcha()
- func (this *UserController) Register()
- func (this *UserController) RegisterAction()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CategoryController ¶
type CategoryController struct {
beego.Controller
}
func (*CategoryController) GetAllCategory ¶
func (this *CategoryController) GetAllCategory()
查询所有的分类信息
type HomeController ¶
type HomeController struct {
beego.Controller
}
func (*HomeController) SetPaginator ¶
func (this *HomeController) SetPaginator(per int, nums int64) *utils.Paginator
分页设置
type TopicController ¶
type TopicController struct {
beego.Controller
}
func (*TopicController) ModifyTopicAction ¶
func (this *TopicController) ModifyTopicAction()
修改文章Action
func (*TopicController) ViewTopicByCategoryName ¶
func (this *TopicController) ViewTopicByCategoryName()
根据分类名称查询文章
type UserController ¶
type UserController struct {
beego.Controller
}
func (*UserController) ModifyPWDAction ¶
func (this *UserController) ModifyPWDAction()
密码找回修改密码Action
Click to show internal directories.
Click to hide internal directories.