正在显示
1 个修改的文件
包含
3 行增加
和
3 行删除
@@ -12,9 +12,9 @@ var nsV1 *beego.Namespace | @@ -12,9 +12,9 @@ var nsV1 *beego.Namespace | ||
12 | 12 | ||
13 | func init() { | 13 | func init() { |
14 | nsV1 := beego.NewNamespace("v1", | 14 | nsV1 := beego.NewNamespace("v1", |
15 | - beego.NSNamespace("vod", beego.NSBefore(controllers.AllowOption), beego.NSInclude(&v1.VodController{})), | ||
16 | - beego.NSNamespace("push", beego.NSBefore(controllers.AllowOption), beego.NSInclude(&v1.PushController{})), | ||
17 | - beego.NSNamespace("sms", beego.NSBefore(controllers.AllowOption), beego.NSInclude(&v1.SmsController{})), | 15 | + beego.NSNamespace("vod", beego.NSInclude(&v1.VodController{})),//, beego.NSBefore(controllers.AllowOption) |
16 | + beego.NSNamespace("push", beego.NSInclude(&v1.PushController{})),//, beego.NSBefore(controllers.AllowOption) | ||
17 | + beego.NSNamespace("sms", beego.NSInclude(&v1.SmsController{})),//, beego.NSBefore(controllers.AllowOption) | ||
18 | ) | 18 | ) |
19 | beego.SetStaticPath("/log", constant.LogFilePath) | 19 | beego.SetStaticPath("/log", constant.LogFilePath) |
20 | beego.Router("/v2/vod/createStsAuth", &v2.VodController{}, "Post:CreateStsAuth") | 20 | beego.Router("/v2/vod/createStsAuth", &v2.VodController{}, "Post:CreateStsAuth") |
-
请 注册 或 登录 后发表评论