删除多余调试
This commit is contained in:
parent
4d4772a035
commit
18c660df09
@ -66,7 +66,6 @@ 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);
|
|
||||||
$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('余额不足');
|
||||||
@ -219,9 +218,10 @@ class PayNotifyLogic extends BaseLogic
|
|||||||
// if($count){
|
// if($count){
|
||||||
// self::addFlowLog($order);
|
// self::addFlowLog($order);
|
||||||
// }
|
// }
|
||||||
// if($order['shipping_type'] == 3){
|
//收银台下单直接到账
|
||||||
|
// if($order['shipping_type'] == 3){
|
||||||
// self::descStock($order['id']);
|
// self::descStock($order['id']);
|
||||||
// }
|
// }
|
||||||
|
|
||||||
|
|
||||||
// Redis::send('push-platform-print', ['id' => $order['id']], 60);
|
// Redis::send('push-platform-print', ['id' => $order['id']], 60);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user