add
This commit is contained in:
@@ -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{
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user