...
|
...
|
@@ -696,7 +696,14 @@ class IndexController extends AbstractAction |
|
|
// 提交成功清除Cookie
|
|
|
$this->setCookie('order-info', null);
|
|
|
|
|
|
$this->echoJson($result);
|
|
|
if ($result['code'] === 409) {
|
|
|
headers_sent() || header('Content-Type: application/json; charset=utf-8;');
|
|
|
$result = json_encode($result);
|
|
|
echo urldecode($result);
|
|
|
exit;
|
|
|
} else {
|
|
|
$this->echoJson($result);
|
|
|
}
|
|
|
}
|
|
|
} else {
|
|
|
echo ' ';
|
...
|
...
|
|