正在显示
1 个修改的文件
包含
3 行增加
和
1 行删除
| @@ -146,9 +146,11 @@ class CNoticeController extends BaseController | @@ -146,9 +146,11 @@ class CNoticeController extends BaseController | ||
| 146 | CURLOPT_FOLLOWLOCATION => true, | 146 | CURLOPT_FOLLOWLOCATION => true, |
| 147 | CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, | 147 | CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, |
| 148 | CURLOPT_CUSTOMREQUEST => 'GET', | 148 | CURLOPT_CUSTOMREQUEST => 'GET', |
| 149 | + CURLOPT_HTTPHEADER => ["charset=utf-8"] | ||
| 149 | )); | 150 | )); |
| 150 | - curl_exec($curl); | 151 | + $response = curl_exec($curl); |
| 151 | curl_close($curl); | 152 | curl_close($curl); |
| 153 | + return $response; | ||
| 152 | } | 154 | } |
| 153 | 155 | ||
| 154 | /** | 156 | /** |
-
请 注册 或 登录 后发表评论