实现单页文章功能

This commit is contained in:
lifei6671
2018-07-13 16:46:40 +08:00
parent 5b5d150d8a
commit 3f6555ac82
4 changed files with 152 additions and 26 deletions

View File

@@ -0,0 +1,31 @@
package controllers
type BlogController struct{
BaseController
}
func (c *BlogController) Index() {
c.Prepare()
}
func (c *BlogController) List() {
c.Prepare()
}
//管理后台
func (c *BlogController) ManageList() {
c.Prepare()
}
//文章设置
func (c *BlogController) ManageSetting() {
c.Prepare()
}
//文章创建或编辑
func (c *BlogController) ManageEdit() {
c.Prepare()
}