shish 4 лет назад
Родитель
Сommit
67f8ff2e1b
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app-hd/controllers/OrderController.php

+ 1 - 1
app-hd/controllers/OrderController.php

@@ -425,7 +425,7 @@ class OrderController extends BaseController
             if ($order->fromType == 1 || $order->fromType == 3 || $order->fromType == 4) {
                 //美团一般都会生成制作单,要通过声音提示制作台
                 if ($order->fromType == 4) {
-                    $shopExt = ShopExtClass::getById($this->shopId, true);
+                    $shopExt = ShopExtClass::getByCondition(['shopId' => $this->shopId], true);
                     ShopExtClass::newMtWork($shopExt, $order);
                 }
             } else {