add search function

This commit is contained in:
2025-03-03 00:59:52 +08:00
parent 58c58546d2
commit 4d0f628586
29 changed files with 982 additions and 142 deletions

View File

@@ -0,0 +1,17 @@
package phone
import (
"net/http"
"schisandra-album-cloud-microservices/app/auth/api/internal/logic/phone"
"schisandra-album-cloud-microservices/app/auth/api/internal/svc"
"schisandra-album-cloud-microservices/common/xhttp"
)
func CommonUploadHandler(svcCtx *svc.ServiceContext) http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
l := phone.NewCommonUploadLogic(r.Context(), svcCtx)
err := l.CommonUpload()
xhttp.JsonBaseResponseCtx(r.Context(), w, err)
}
}