正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -364,10 +364,10 @@ class App { | @@ -364,10 +364,10 @@ class App { | ||
364 | http_response_code($http_code); | 364 | http_response_code($http_code); |
365 | 365 | ||
366 | if(is_array($data)){ | 366 | if(is_array($data)){ |
367 | - @header("Content-Type:application/json;Charset=UTF-8;"); | 367 | + @header("Content-Type:application/json; Charset=UTF-8"); |
368 | echo json_encode($data,JSON_UNESCAPED_UNICODE); | 368 | echo json_encode($data,JSON_UNESCAPED_UNICODE); |
369 | }else{ | 369 | }else{ |
370 | - @header("Content-Type:text/html;Charset=UTF-8;"); | 370 | + @header("Content-Type:text/html; Charset=UTF-8"); |
371 | echo $data; | 371 | echo $data; |
372 | } | 372 | } |
373 | } | 373 | } |
-
请 注册 或 登录 后发表评论