shish %!s(int64=4) %!d(string=hai) anos
pai
achega
67f8ff2e1b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 {