shish 3 лет назад
Родитель
Сommit
53cc8b4c2e
1 измененных файлов с 5 добавлено и 0 удалено
  1. 5 0
      app-hd/controllers/NoticeController.php

+ 5 - 0
app-hd/controllers/NoticeController.php

@@ -79,6 +79,11 @@ class NoticeController extends PublicController
                             $order->printNum += 1;
                             $order->save();
                         }
+                        $cgShopId = $cg->shopId ?? 0;
+                        $cgShop = ShopClass::getById($cgShopId, true);
+                        if (!empty($cgShop)) {
+                            \bizHd\notice\classes\NoticeClass::cgSuccessMiniNotice($cgShop, $cg);
+                        }
                         $shopId = $order->shopId ?? 0;
                         $shop = ShopClass::getById($shopId, true);
                         if (!empty($shop)) {