瀏覽代碼

make more clear

cg33 6 年之前
父節點
當前提交
bf1171a599
共有 2 個文件被更改,包括 391 次插入1 次删除
  1. 390 0
      index.go
  2. 1 1
      main.go

File diff suppressed because it is too large
+ 390 - 0
index.go


+ 1 - 1
main.go

@@ -76,7 +76,7 @@ func main() {
 
 	r.GET("/admin", func(ctx *gin.Context) {
 		engine.Content(ctx, func(ctx interface{}) (types.Panel, error) {
-			return datamodel.GetContent()
+			return DashboardPage()
 		})
 	})