Browse Source

自由布局外链免责声明

kobe6258 1 month ago
parent
commit
2b096fcd54
1 changed files with 5 additions and 1 deletions
  1. 5 1
      routers/router.go

+ 5 - 1
routers/router.go

@@ -39,6 +39,10 @@ func init() {
 				&controllers.EtaForumChartController{},
 				&controllers.EtaForumChartController{},
 			),
 			),
 		),
 		),
-	)
+		web.NSNamespace("/common",
+			web.NSInclude(
+				&controllers.CommonController{},
+			),
+		))
 	web.AddNamespace(ns)
 	web.AddNamespace(ns)
 }
 }