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