|
@@ -10,7 +10,8 @@ var nsV1 *beego.Namespace |
|
@@ -10,7 +10,8 @@ var nsV1 *beego.Namespace |
10
|
|
10
|
|
11
|
func init() {
|
11
|
func init() {
|
12
|
nsV1 := beego.NewNamespace("v1",
|
12
|
nsV1 := beego.NewNamespace("v1",
|
13
|
- beego.NSNamespace("vod", beego.NSBefore(controllers.FilterComm), beego.NSBefore(controllers.AllowOption), beego.NSInclude(&v1.VodController{})),
|
13
|
+ beego.NSNamespace("vod", beego.NSBefore(controllers.AllowOption), beego.NSInclude(&v1.VodController{})),
|
|
|
14
|
+ //beego.NSNamespace("vod", beego.NSBefore(controllers.FilterComm), beego.NSBefore(controllers.AllowOption), beego.NSInclude(&v1.VodController{})),
|
14
|
)
|
15
|
)
|
15
|
beego.SetStaticPath("/log", beego.AppConfig.String("aliyun_logs_access"))
|
16
|
beego.SetStaticPath("/log", beego.AppConfig.String("aliyun_logs_access"))
|
16
|
beego.AddNamespace(nsV1)
|
17
|
beego.AddNamespace(nsV1)
|