This commit is contained in:
deepzz0
2016-10-12 00:29:56 +08:00
parent f3dfe46e7f
commit c24fa8bb22
6 changed files with 38 additions and 27 deletions

18
back.go
View File

@@ -88,24 +88,6 @@ func HandleProfile(c *gin.Context) {
c.HTML(http.StatusOK, "backLayout.html", h)
}
// 插件
func HandlePlugins(c *gin.Context) {
h := GetBack()
h["Console"] = true
h["Path"] = c.Request.URL.Path
h["Title"] = "插件管理 | " + Ei.BTitle
c.HTML(http.StatusOK, "backLayout.html", h)
}
// 主题
func HandleThemes(c *gin.Context) {
h := GetBack()
h["Console"] = true
h["Path"] = c.Request.URL.Path
h["Title"] = "主题管理 | " + Ei.BTitle
c.HTML(http.StatusOK, "backLayout.html", h)
}
// 写文章==>Write
func HandlePost(c *gin.Context) {
h := GetBack()