first commit

This commit is contained in:
2026-01-12 18:14:32 +08:00
commit 55cbc891c2
605 changed files with 64698 additions and 0 deletions

View File

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