18 lines
		
	
	
		
			433 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			433 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package pay
 | |
| 
 | |
| import (
 | |
| 	"net/http"
 | |
| 
 | |
| 	"hm-server/app/main/api/internal/logic/pay"
 | |
| 	"hm-server/app/main/api/internal/svc"
 | |
| 	"hm-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)
 | |
| 	}
 | |
| }
 |