|
|
|
@ -170,15 +170,15 @@ class NotifyController extends BaseController |
|
|
|
$res = $this->mqttService->speakToStore($orderMain->global_order_id); |
|
|
|
$res = $this->deviceService->pubMsgToStoreByOrderMainId($orderMain->global_order_id); |
|
|
|
|
|
|
|
// 公众号模板消息
|
|
|
|
$res = $this->miniprogramService->sendTemMsgForOnlineOrder($orderMain->global_order_id); |
|
|
|
|
|
|
|
// 打印订单,自动打印
|
|
|
|
$res = $this->feiePrintService->feiePrint($orderMain->global_order_id); |
|
|
|
|
|
|
|
// 记录badge
|
|
|
|
$orderChildIds = Order::query()->where(['order_main_id' => $orderMain->global_order_id])->pluck('store_id'); |
|
|
|
$this->badgeService->doByOrder($orderMain->user_id, $orderChildIds, $orderMain->global_order_id, OrderState::PAID); |
|
|
|
|
|
|
|
// 公众号模板消息
|
|
|
|
$res = $this->miniprogramService->sendTemMsgForOnlineOrder($orderMain->global_order_id); |
|
|
|
return true; |
|
|
|
|
|
|
|
} catch (Exception $e) { |
|
|
|
|