增加用户注销功能

This commit is contained in:
2025-03-15 01:33:31 +08:00
parent 280c9a3fa0
commit 8e8e6780c5
11 changed files with 338 additions and 77 deletions

View File

@@ -339,6 +339,11 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
server.AddRoutes(
[]rest.Route{
{
Method: http.MethodPost,
Path: "/user/cancelOut",
Handler: user.CancelOutHandler(serverCtx),
},
{
// get user info
Method: http.MethodGet,