正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -32,7 +32,7 @@ func init() { | @@ -32,7 +32,7 @@ func init() { | ||
32 | } | 32 | } |
33 | filters.SecureKeyMap["token"] = "x-mmm-accesstoken" | 33 | filters.SecureKeyMap["token"] = "x-mmm-accesstoken" |
34 | web.InsertFilter("/*", web.BeforeRouter, filters.AllowCors()) | 34 | web.InsertFilter("/*", web.BeforeRouter, filters.AllowCors()) |
35 | - web.InsertFilter("/*", web.BeforeExec, filters.CreateRequstLogFilter(log.Logger)) | 35 | + web.InsertFilter("/*", web.BeforeRouter, filters.CreateRequstLogFilter(log.Logger)) |
36 | web.InsertFilter("/*", web.AfterExec, filters.CreateResponseLogFilter(log.Logger), web.WithReturnOnOutput(false)) | 36 | web.InsertFilter("/*", web.AfterExec, filters.CreateResponseLogFilter(log.Logger), web.WithReturnOnOutput(false)) |
37 | web.InsertFilter("/v1/app11/*", web.BeforeExec, filters.SecureHandler( | 37 | web.InsertFilter("/v1/app11/*", web.BeforeExec, filters.SecureHandler( |
38 | filters.WithEnableCheckTimestamp(false), | 38 | filters.WithEnableCheckTimestamp(false), |
-
请 注册 或 登录 后发表评论