fix(router): 修正登录接口路由前缀
This commit is contained in:
1 parent
2a22adb4bb
commit
5e538e4828
1 file changed
+1
-1
@@ -11,7 +11,7 @@ import (
|
|||||||
func AuthRouter(g *gin.RouterGroup) {
|
func AuthRouter(g *gin.RouterGroup) {
|
||||||
app := api.App.AuthApi
|
app := api.App.AuthApi
|
||||||
|
|
||||||
g.POST("login",
|
g.POST("/auth/login",
|
||||||
middleware.BindJsonMiddleware[auth_api.LoginRequest],
|
middleware.BindJsonMiddleware[auth_api.LoginRequest],
|
||||||
middleware.AuthRateLimit,
|
middleware.AuthRateLimit,
|
||||||
app.LoginView)
|
app.LoginView)
|
||||||
|
|||||||
Reference in new issue
Block a user