|
@@ -20,7 +20,7 @@ func init() {
|
|
}))
|
|
}))
|
|
//增加授权拦截
|
|
//增加授权拦截
|
|
|
|
|
|
- //web.InsertFilter("*", web.BeforeRouter, middleware.AuthMiddleware())
|
|
|
|
|
|
+ web.InsertFilter("*", web.BeforeRouter, middleware.AuthMiddleware())
|
|
|
|
|
|
ns := web.NewNamespace("/htapi",
|
|
ns := web.NewNamespace("/htapi",
|
|
web.NSNamespace("/user",
|
|
web.NSNamespace("/user",
|