|
@@ -79,7 +79,7 @@ trait ApiTrait
|
|
|
*
|
|
*
|
|
|
* @param string $outRefundNo 商户退款单号
|
|
* @param string $outRefundNo 商户退款单号
|
|
|
*/
|
|
*/
|
|
|
- private function domesticRefunds(string $outRefundNo, string $outTradeNo, float $refund, float $total = null, string $reason = '交易取消')
|
|
|
|
|
|
|
+ private function domesticRefunds(string $outRefundNo, string $outTradeNo, float $refund, ?float $total = null, string $reason = '交易取消')
|
|
|
{
|
|
{
|
|
|
$total = $total ?? $refund;
|
|
$total = $total ?? $refund;
|
|
|
// https://pay.weixin.qq.com/doc/v3/merchant/4012791862
|
|
// https://pay.weixin.qq.com/doc/v3/merchant/4012791862
|