Files
bdqr-server/app/main/api/internal/handler/pay/wechatpayrefundcallbackhandler.go

18 lines
439 B
Go
Raw Normal View History

2026-01-06 12:25:25 +08:00
package pay
import (
"net/http"
"bdqr-server/app/main/api/internal/logic/pay"
"bdqr-server/app/main/api/internal/svc"
"bdqr-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)
}
}