shizhongqi 9 mesi fa
parent
commit
0db7fd0222
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      app-ghs/controllers/OrderController.php

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

@@ -1345,7 +1345,7 @@ class OrderController extends BaseController
                         Yii::info('向花店App发通知');
                         $custom = CustomClass::getById($order->customId);
                         //向花店App发通知
-                        $allDevices = \bizHd\device\classes\HdDeviceClass::getAllByCondition(['mainId'=>$custom['shopId']]);
+                        $allDevices = \bizHd\device\classes\HdDeviceClass::getAllByCondition(['shopId'=>$custom['shopId']]);
                         $cids = array_column($allDevices, 'clientId');
                         $title = '买花成功';
                         $shopName = $shop->merchantName . $shop->shopName != '首店' ? '(' . $shop->shopName . ')' : '';