This commit is contained in:
Mrx
2026-02-27 12:53:27 +08:00
parent 5089b37ef1
commit fd229f0d59
12 changed files with 223 additions and 6 deletions

View File

@@ -25,6 +25,7 @@ import (
notification "tyass-server/app/main/api/internal/handler/notification"
pay "tyass-server/app/main/api/internal/handler/pay"
product "tyass-server/app/main/api/internal/handler/product"
captchaHandler "tyass-server/app/main/api/internal/handler/captcha"
query "tyass-server/app/main/api/internal/handler/query"
user "tyass-server/app/main/api/internal/handler/user"
"tyass-server/app/main/api/internal/svc"
@@ -914,6 +915,17 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
rest.WithPrefix("/api/v1"),
)
server.AddRoutes(
[]rest.Route{
{
Method: http.MethodPost,
Path: "/captcha/encryptedSceneId",
Handler: captchaHandler.GetEncryptedSceneIdHandler(serverCtx),
},
},
rest.WithPrefix("/api/v1"),
)
server.AddRoutes(
[]rest.Route{
{