Ver código fonte

通知制作

shish 9 meses atrás
pai
commit
fab0a6b030
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      app-hd/controllers/WorkController.php

+ 2 - 0
app-hd/controllers/WorkController.php

@@ -40,6 +40,8 @@ class WorkController extends BaseController
         WorkClass::needWork($order, $main);
         WorkClass::needWork($order, $main);
         $has = WorkClass::getByCondition(['orderId' => $id], true);
         $has = WorkClass::getByCondition(['orderId' => $id], true);
         if (!empty($has)) {
         if (!empty($has)) {
+            $shopExt = ShopExtClass::getByCondition(['shopId' => $this->shopId], true);
+            ShopExtClass::newWorkRemind($shopExt, $order);
             $order->hasWork = 1;
             $order->hasWork = 1;
             $order->save();
             $order->save();
             util::complete('通知成功');
             util::complete('通知成功');