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