Browse Source

自由布局外链免责声明

kobe6258 1 tháng trước cách đây
mục cha
commit
2b096fcd54
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  1. 5 1
      routers/router.go

+ 5 - 1
routers/router.go

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