feat : wechatPay callback

This commit is contained in:
2025-03-18 14:58:31 +08:00
parent 2154aee10b
commit f708203c7b
3 changed files with 7 additions and 8 deletions

View File

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