|
|
@@ -470,6 +470,8 @@ class IntraCityController extends BaseController
|
|
|
} else {
|
|
|
noticeUtil::push("门店 -- " . $this->mainId . ",订单创建失败:" . json_encode($result));
|
|
|
Yii::error("订单创建失败:" . ($result['errmsg'] ?? '未知错误'), 'intracity');
|
|
|
+ $errorMsg = $result['errmsg'] ?? '';
|
|
|
+ noticeUtil::push("跑腿单创建失败:" . $errorMsg, '15280215347');
|
|
|
util::fail('提交失败,请确认余额是否充足');
|
|
|
}
|
|
|
} catch (\Exception $e) {
|
|
|
@@ -754,7 +756,7 @@ class IntraCityController extends BaseController
|
|
|
if ($msg != '') { // $msg 不为空,则发通知
|
|
|
$order = OrderClass::getById($orderId, true, 'id, shopId, customName, sendNum');
|
|
|
$shop = ShopClass::getById($order->shopId, true, 'id, ptStyle, mainId');
|
|
|
- $result = $msg . $order->sendNum . ')';
|
|
|
+ $result = $msg . $order->sendNum . ')';
|
|
|
WxMessageClass::expressErrorInform($shop, $order->customName, $orderId, $result);
|
|
|
}
|
|
|
$re = $eo->save();
|