更新logic response等使用方法

This commit is contained in:
eson
2023-06-07 11:57:04 +08:00
parent 12fd21df01
commit 50106e3c12
9 changed files with 31 additions and 41 deletions

View File

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