feat : wechatPay callback
This commit is contained in:
@@ -67,7 +67,7 @@ class RefundOrder extends Model
|
|||||||
])->sum('refund_money') ?? 0;
|
])->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
|
return $this
|
||||||
->where('order_id', $orderId)
|
->where('order_id', $orderId)
|
||||||
|
|||||||
@@ -81,9 +81,9 @@ class RefundService
|
|||||||
public float $refundAmount;
|
public float $refundAmount;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var float|int
|
* @var float|int|string
|
||||||
*/
|
*/
|
||||||
protected float|int $isRefundMoney;
|
protected float|int|string $isRefundMoney;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return void
|
* @return void
|
||||||
|
|||||||
Reference in New Issue
Block a user