feat : wechatPay callback

This commit is contained in:
2025-03-18 14:35:34 +08:00
parent 94e7c428cf
commit 2154aee10b

View File

@@ -192,7 +192,7 @@ abstract class WxJsRechargeBaseService implements ThirdPayInterface
'_action' => 'mini', // jsapi 退款,默认
];
$result = $this->ysdPay->wechat($this->config)->refund($order);
$result = $this->ysdPay->wechat(array_merge($this->config, ['_force' => true]))->refund($order);
$this->log->callbackLog(__CLASS__.'微信退款调起数据|回调地址:'. json_encode($this->config['wechat']['default']).'|回调数据:'.json_encode($result).'|请求数据:'.json_encode($order));
return $result;