This commit is contained in:
liu 2024-06-29 15:11:54 +08:00
parent 1e1b176f7b
commit 18134f3f37

View File

@ -66,7 +66,7 @@ class PayNotifyLogic extends BaseLogic
public static function balancePay($orderSn, $extra = [])
{
$order = StoreOrder::where('order_id', $orderSn)->findOrEmpty();
self::afterPay($order);d(444);
self::afterPay($order);
$user = User::where('id', $order['uid'])->find();
if ($user['now_money'] < $order['pay_price']) {
throw new \Exception('余额不足');