|
|
@@ -252,7 +252,12 @@ class MtController extends PublicController
|
|
|
'thirdOrderId' => $mtOrderId,
|
|
|
];
|
|
|
$hasPay = dict::getDict('hasPay', 'payed');
|
|
|
- OrderService::createFinishOrder($orderData, $custom, $hasPay);
|
|
|
+ $order = OrderService::createFinishOrder($orderData, $custom, $hasPay);
|
|
|
+
|
|
|
+ //新制作单提示
|
|
|
+ $shopExt = ShopExtClass::getByCondition(['shopId' => $shopId], true);
|
|
|
+ ShopExtClass::newWorkRemind($shopExt, $order);
|
|
|
+
|
|
|
$transaction->commit();
|
|
|
return Json::encode(['data' => 'ok']);
|
|
|
} catch (\Exception $e) {
|