优化结构

This commit is contained in:
Yvan
2026-08-27 22:33:43 +08:00
parent 5052835fcb
commit e407d3ac10
86 changed files with 3151 additions and 726 deletions
+3 -1
View File
@@ -165,7 +165,9 @@ func (h *Payment) Callback(c *gin.Context) {
}
ack, err := h.service.Callback(c.Request.Context(), &dto.PaymentCallbackRequest{Provider: c.Param("provider"), Headers: headers, Body: raw, Query: query})
writePaymentCallbackAck(c, ack)
_ = err
if err != nil {
_ = c.Error(err)
}
}
func writePaymentCallbackAck(c *gin.Context, ack dto.PaymentCallbackAck) {