...
|
...
|
@@ -430,6 +430,7 @@ class IndexController extends AbstractAction |
|
|
. ',paymentId:' . $paymentId . ',paymentType:' . $paymentType . ',remark:' . $remark . ',couponCode:' . $couponCode . "\n";
|
|
|
error_log($message, 3, '/Data/logs/php/h5_error/order.' . date('Ym') . '.log');
|
|
|
}
|
|
|
// 返回数据
|
|
|
else {
|
|
|
// 提交成功清除Cookie
|
|
|
$this->setCookie('order-info', null);
|
...
|
...
|
@@ -437,7 +438,6 @@ class IndexController extends AbstractAction |
|
|
$this->echoJson($result);
|
|
|
}
|
|
|
|
|
|
|
|
|
if ($uid && !empty($result['data'])) {
|
|
|
try {
|
|
|
UnionTrans::set($uid, $result['data']['order_code'], $result['data']['order_amount']);
|
...
|
...
|
@@ -445,17 +445,8 @@ class IndexController extends AbstractAction |
|
|
// do nothing
|
|
|
}
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
if (empty($result)) {
|
|
|
echo ' ';
|
|
|
} else {
|
|
|
// 提交成功清除Cookie
|
|
|
$this->setCookie('order-info', null);
|
|
|
|
|
|
$this->echoJson($result);
|
|
|
|
|
|
echo ' ';
|
|
|
}
|
|
|
}
|
|
|
|
...
|
...
|
|