diff --git a/app/common/logic/PayNotifyLogic.php b/app/common/logic/PayNotifyLogic.php index 48a0c0a6d..fe735a893 100644 --- a/app/common/logic/PayNotifyLogic.php +++ b/app/common/logic/PayNotifyLogic.php @@ -155,11 +155,11 @@ class PayNotifyLogic extends BaseLogic } - if ($order->pay_type == 9) { - $extra['create_time'] = $order['create_time']; + // if ($order->pay_type == 9) { + // $extra['create_time'] = $order['create_time']; // PushService::push('store_merchant_' . $order['store_id'], $order['store_id'], ['type' => 'cash_register', 'msg' => '您有一笔订单已支付', 'data' => $extra]); - Redis::send('push-platform-print', ['id' => $order['id']]); - } + // Redis::send('push-platform-print', ['id' => $order['id']]); + // } // else { // PushService::push('store_merchant_' . $order['store_id'], $order['store_id'], ['type' => 'store_merchant', 'msg' => '您有一笔新的订单']); // Db::name('order_middle')->insert(['c_order_id' => $order['id']]); @@ -251,7 +251,7 @@ class PayNotifyLogic extends BaseLogic } $cashFlowLogic = new CashFlowLogic(); $cashFlowLogic->insert($order['store_id'], $order['pay_price']); - Redis::send('push-platform-print', ['id' => $order['id']]); + // Redis::send('push-platform-print', ['id' => $order['id']]); } /** @@ -282,11 +282,11 @@ class PayNotifyLogic extends BaseLogic self::afterPay($order); } - if ($order->pay_type == 9) { - $extra['create_time'] = $order['create_time']; + // if ($order->pay_type == 9) { + // $extra['create_time'] = $order['create_time']; // PushService::push('store_merchant_' . $order['store_id'], $order['store_id'], ['type' => 'cash_register', 'msg' => '您有一笔订单已支付', 'data' => $extra]); - Redis::send('push-platform-print', ['id' => $order['id']]); - } + // Redis::send('push-platform-print', ['id' => $order['id']]); + // } // else { // PushService::push('store_merchant_' . $order['store_id'], $order['store_id'], ['type' => 'store_merchant', 'msg' => '您有一笔新的订单']); // }