| #941 | $retrySymbols[$code] = $symbol; |
| #942 | } else { |
| #943 | try { |
| #944 | // 处理API返回的JavaScript变量格式 |
| #945 | $response = preg_replace('/^var quote_json = /', '', $response); |
| #946 | $response = preg_replace('/;$/', '', $response); |
| #947 | |
| #948 | $data = json_decode($response, true); |
| #949 | |
| #950 | if (!$data || !isset($data['data']) || !isset($data['data'][$code])) { |