|
|
@@ -42,14 +42,14 @@ class MtController extends PublicController
|
|
|
}
|
|
|
Yii::$app->redis->executeCommand('SETEX', [$cacheKey, 4, 'has']);
|
|
|
|
|
|
- noticeUtil::push("美团请求通知,美团订单id:{$mtOrderId} 美团编号:{$thirdSn}", '15280215347');
|
|
|
-
|
|
|
// 无数据过来时,是美团对接口进行存活试探,请保留此段代码,好让请求在此被中断返回
|
|
|
if (empty($post)) {
|
|
|
return Json::encode(['data' => 'ok']);
|
|
|
}
|
|
|
Yii::info('confirmOrderData: ' . json_encode($post));
|
|
|
|
|
|
+ noticeUtil::push("美团请求通知,美团订单id:{$mtOrderId} 美团编号:{$thirdSn}", '15280215347');
|
|
|
+
|
|
|
$connection = Yii::$app->db;//事务处理
|
|
|
$transaction = $connection->beginTransaction();
|
|
|
try {
|