diff --git a/app/main/api/internal/logic/pay/wechatpayrefundcallbacklogic.go b/app/main/api/internal/logic/pay/wechatpayrefundcallbacklogic.go index 16cc447..b55d612 100644 --- a/app/main/api/internal/logic/pay/wechatpayrefundcallbacklogic.go +++ b/app/main/api/internal/logic/pay/wechatpayrefundcallbacklogic.go @@ -139,7 +139,7 @@ func (l *WechatPayRefundCallbackLogic) WechatPayRefundCallback(w http.ResponseWr l.sendSuccessResponse(w) return nil } - + logx.Infof("【微信退款回调通知】: %+v", notification) orderNo := *notification.OutTradeNo var processErr error diff --git a/app/main/api/internal/service/wechatpayService.go b/app/main/api/internal/service/wechatpayService.go index c0ba849..2452254 100644 --- a/app/main/api/internal/service/wechatpayService.go +++ b/app/main/api/internal/service/wechatpayService.go @@ -350,7 +350,7 @@ func (w *WechatPayService) WeChatRefund(ctx context.Context, outTradeNo string, Currency: core.String("CNY"), Refund: core.Int64(lzUtils.ToWechatAmount(refundAmount)), Total: core.Int64(lzUtils.ToWechatAmount(totalAmount)), - }, + }, }) if err != nil { return fmt.Errorf("微信订单申请退款错误: %v", err)