feat : wechatPay callback

This commit is contained in:
2025-03-18 16:27:24 +08:00
parent 63b6cce2bd
commit c7b667dc61
4 changed files with 10 additions and 5 deletions

View File

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