This commit is contained in:
2026-01-12 16:43:08 +08:00
parent dc747139c9
commit 3c6e2683f5
110 changed files with 9630 additions and 481 deletions

View File

@@ -0,0 +1,18 @@
package pay
import (
"net/http"
"ycc-server/app/main/api/internal/logic/pay"
"ycc-server/app/main/api/internal/svc"
"ycc-server/common/result"
)
func AlipayFromHandler(svcCtx *svc.ServiceContext) http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
l := pay.NewAlipayFromLogic(r.Context(), svcCtx)
err := l.AlipayFrom(w, r)
result.HttpResult(r, w, nil, err)
}
}