搭建框架

This commit is contained in:
Minho
2017-04-20 18:19:32 +08:00
parent 4ebc28a431
commit d58087f723
70 changed files with 33940 additions and 28331 deletions

13
controllers/document.go Normal file
View File

@@ -0,0 +1,13 @@
package controllers
type DocumentController struct {
BaseController
}
func (p *DocumentController) Index() {
p.TplName = "document/index.tpl"
}
func (p *DocumentController) Read() {
p.TplName = "document/kancloud.tpl"
}