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

@@ -0,0 +1,17 @@
package captcha
import (
"net/http"
"tyass-server/app/main/api/internal/logic/captcha"
"tyass-server/app/main/api/internal/svc"
"tyass-server/common/result"
)
func GetEncryptedSceneIdHandler(svcCtx *svc.ServiceContext) http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
l := captcha.NewGetEncryptedSceneIdLogic(r.Context(), svcCtx)
resp, err := l.GetEncryptedSceneId()
result.HttpResult(r, w, resp, err)
}
}