This commit is contained in:
eson
2023-06-07 11:36:29 +08:00
parent ef50dbb6fe
commit f6ed43229d
3 changed files with 13 additions and 8 deletions

View File

@@ -13,7 +13,7 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
server.AddRoutes(
[]rest.Route{
{
Method: http.MethodPost,
Method: http.MethodGet,
Path: "/user/login",
Handler: UserLoginHandler(serverCtx),
},