|
@@ -682,7 +682,7 @@ class IndexController extends AbstractAction |
|
@@ -682,7 +682,7 @@ class IndexController extends AbstractAction |
682
|
if (!empty($_COOKIE['mkt_code'])) {
|
682
|
if (!empty($_COOKIE['mkt_code'])) {
|
683
|
$unionKey = '{"client_id":' . (strlen($_COOKIE['mkt_code']) >= 15 '' : '800') . $_COOKIE['mkt_code'] . '}';
|
683
|
$unionKey = '{"client_id":' . (strlen($_COOKIE['mkt_code']) >= 15 '' : '800') . $_COOKIE['mkt_code'] . '}';
|
684
|
} else {
|
684
|
} else {
|
685
|
- $encryData = trim(Encryption::decrypt($_COOKIE['_QYH_UNION']));
|
685
|
+ $encryData = trim(Encryption::decrypt(urldecode($_COOKIE['_QYH_UNION'])));
|
686
|
$extraIndex = strrpos($encryData, '}') + 1;
|
686
|
$extraIndex = strrpos($encryData, '}') + 1;
|
687
|
$encryObject = substr($encryData, 0, $extraIndex);
|
687
|
$encryObject = substr($encryData, 0, $extraIndex);
|
688
|
$testQyhUnion = json_decode($encryObject, true);
|
688
|
$testQyhUnion = json_decode($encryObject, true);
|
|
@@ -719,7 +719,6 @@ class IndexController extends AbstractAction |
|
@@ -719,7 +719,6 @@ class IndexController extends AbstractAction |
719
|
$message = 'uid:' . $uid . ',addressId:' . $addressId . ',cartType:' . $cartType . ',deliveryTime:' . $deliveryTime
|
719
|
$message = 'uid:' . $uid . ',addressId:' . $addressId . ',cartType:' . $cartType . ',deliveryTime:' . $deliveryTime
|
720
|
. ',deliveryWay:' . $deliveryWay . ',yohoCoin:' . $yohoCoin
|
720
|
. ',deliveryWay:' . $deliveryWay . ',yohoCoin:' . $yohoCoin
|
721
|
. ',paymentId:' . $paymentId . ',paymentType:' . $paymentType . ',remark:' . $remark . ',couponCode:' . $couponCode . "\n";
|
721
|
. ',paymentId:' . $paymentId . ',paymentType:' . $paymentType . ',remark:' . $remark . ',couponCode:' . $couponCode . "\n";
|
722
|
- error_log($message, 3, '/Data/logs/php/h5_error/order.' . date('Ym') . '.log');
|
|
|
723
|
UdpLog::info('【下单】下单异常数据', 'message:' . $message, '返回:' . json_encode($result));
|
722
|
UdpLog::info('【下单】下单异常数据', 'message:' . $message, '返回:' . json_encode($result));
|
724
|
} else {
|
723
|
} else {
|
725
|
// 返回数据
|
724
|
// 返回数据
|