...
|
...
|
@@ -12,6 +12,6 @@ func init() { |
|
|
beego.InsertFilter("/*", beego.BeforeExec, middleware.CreateRequstLogFilter(Logger))
|
|
|
beego.InsertFilter("/*", beego.AfterExec, middleware.CreateResponseLogFilter(Logger), false)
|
|
|
|
|
|
beego.InsertFilter("/v1/*", beego.BeforeExec, middleware.CheckJWTToken)
|
|
|
beego.InsertFilter("/v2/*", beego.BeforeExec, middleware.CheckJWTToken)
|
|
|
//beego.InsertFilter("/v1/*", beego.BeforeExec, middleware.CheckJWTToken)
|
|
|
//beego.InsertFilter("/v2/*", beego.BeforeExec, middleware.CheckJWTToken)
|
|
|
} |
...
|
...
|
|