mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-09-20 02:37:59 +08:00
搭建框架
This commit is contained in:
13
controllers/setting.go
Normal file
13
controllers/setting.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package controllers
|
||||
|
||||
type SettingController struct {
|
||||
BaseController
|
||||
}
|
||||
|
||||
func (p *SettingController) Index() {
|
||||
p.TplName = "setting/index.tpl"
|
||||
}
|
||||
|
||||
func (p *SettingController) Password() {
|
||||
p.TplName = "setting/password.tpl"
|
||||
}
|
Reference in New Issue
Block a user