Files
tyass-server/app/main/api/internal/handler/captcha/getencryptedsceneidhandler.go
2026-02-27 12:53:27 +08:00

18 lines
445 B
Go

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)
}
}