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