区分小程序和收银台消息提示逻辑
This commit is contained in:
parent
b76f630bbd
commit
6819cc3b21
@ -114,7 +114,9 @@ class PayNotifyLogic extends BaseLogic
|
|||||||
];
|
];
|
||||||
OrderLogic::writeOff($params);
|
OrderLogic::writeOff($params);
|
||||||
}
|
}
|
||||||
PushService::push('store_merchant_' . $order['store_id'], $order['store_id'], ['type' => 'store_merchant', 'msg' => '您有一笔新的订单']);
|
if(in_array($order['shipping_type'],[1,2])){
|
||||||
|
PushService::push('store_merchant_' . $order['store_id'], $order['store_id'], ['type' => 'store_merchant', 'msg' => '您有一笔新的订单']);
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
// Redis::send('push-platform-print', ['id' => $order['id']], 60);
|
// Redis::send('push-platform-print', ['id' => $order['id']], 60);
|
||||||
|
|
||||||
@ -242,7 +244,9 @@ class PayNotifyLogic extends BaseLogic
|
|||||||
|
|
||||||
|
|
||||||
// Redis::send('push-platform-print', ['id' => $order['id']], 60);
|
// Redis::send('push-platform-print', ['id' => $order['id']], 60);
|
||||||
PushService::push('store_merchant_' . $order['store_id'], $order['store_id'], ['type' => 'store_merchant', 'msg' => '您有一笔新的订单']);
|
if(in_array($order['shipping_type'],[1,2])){
|
||||||
|
PushService::push('store_merchant_' . $order['store_id'], $order['store_id'], ['type' => 'store_merchant', 'msg' => '您有一笔新的订单']);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//采购款支付后如果有对应的冻结的话就去反对应的log
|
//采购款支付后如果有对应的冻结的话就去反对应的log
|
||||||
|
Loading…
x
Reference in New Issue
Block a user