...
|
...
|
@@ -8,7 +8,7 @@ import ( |
|
|
)
|
|
|
|
|
|
func init() {
|
|
|
ns := web.NewNamespace("/v1/user",
|
|
|
ns := web.NewNamespace("/v1/users",
|
|
|
web.NSBefore(filters.AllowCors(), middlewares.CheckAdminToken()),
|
|
|
web.NSRouter("/search", &controllers.UserController{}, "Post:ListUsers"),
|
|
|
)
|
...
|
...
|
|