...
|
...
|
@@ -660,8 +660,7 @@ class IndexController extends AbstractAction |
|
|
$unionKey = AuthCode::decode($_COOKIE['_QYH_UNION'], 'q_union_yohobuy');
|
|
|
}
|
|
|
}
|
|
|
/* 解密客户端联盟信息 mkt_code优先 */
|
|
|
// $unionKey = !empty($_COOKIE['mkt_code']) ? '{"client_id": 800' . $_COOKIE['mkt_code'] . '}' : AuthCode::decode($_COOKIE['_QYH_UNION'], 'q_union_yohobuy');
|
|
|
|
|
|
/* 检查联盟参数是否有效 */
|
|
|
$unionInfo = empty($unionKey) ? array() : json_decode($unionKey, true);
|
|
|
/* 模拟APP的User-Agent */
|
...
|
...
|
@@ -674,7 +673,7 @@ class IndexController extends AbstractAction |
|
|
// 记录下单异常的数据
|
|
|
if (empty($result)) {
|
|
|
$message = 'uid:' . $uid . ',addressId:' . $addressId . ',cartType:' . $cartType . ',deliveryTime:' . $deliveryTime
|
|
|
. ',deliveryWay:' . $deliveryWay . 'invoiceTitle:' . $invoiceTitle . ',invoiceId:' . $invoiceId . ',yohoCoin:' . $yohoCoin
|
|
|
. ',deliveryWay:' . $deliveryWay . ',yohoCoin:' . $yohoCoin
|
|
|
. ',paymentId:' . $paymentId . ',paymentType:' . $paymentType . ',remark:' . $remark . ',couponCode:' . $couponCode . "\n";
|
|
|
error_log($message, 3, '/Data/logs/php/h5_error/order.' . date('Ym') . '.log');
|
|
|
UdpLog::info('【下单】下单异常数据', 'message:' . $message, '返回:' . json_encode($result));
|
...
|
...
|
|