注释
This commit is contained in:
parent
1e1b176f7b
commit
18134f3f37
@ -66,7 +66,7 @@ class PayNotifyLogic extends BaseLogic
|
|||||||
public static function balancePay($orderSn, $extra = [])
|
public static function balancePay($orderSn, $extra = [])
|
||||||
{
|
{
|
||||||
$order = StoreOrder::where('order_id', $orderSn)->findOrEmpty();
|
$order = StoreOrder::where('order_id', $orderSn)->findOrEmpty();
|
||||||
self::afterPay($order);d(444);
|
self::afterPay($order);
|
||||||
$user = User::where('id', $order['uid'])->find();
|
$user = User::where('id', $order['uid'])->find();
|
||||||
if ($user['now_money'] < $order['pay_price']) {
|
if ($user['now_money'] < $order['pay_price']) {
|
||||||
throw new \Exception('余额不足');
|
throw new \Exception('余额不足');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user