feat : wechatPay callback

This commit is contained in:
2025-03-18 14:59:57 +08:00
parent f708203c7b
commit c8a36f4af8
2 changed files with 3 additions and 3 deletions

View File

@@ -67,7 +67,7 @@ class RefundOrder extends Model
])->sum('refund_money') ?? 0;
}
public function getSuccessMoneyByOrderId(int $orderId, int $type): float|int
public function getSuccessMoneyByOrderId(int $orderId, int $type): float|int|string
{
return $this
->where('order_id', $orderId)

View File

@@ -81,9 +81,9 @@ class RefundService
public float $refundAmount;
/**
* @var float|int
* @var float|int|string
*/
protected float|int $isRefundMoney;
protected float|int|string $isRefundMoney;
/**
* @return void