Showing
1 changed file
with
2 additions
and
1 deletions
@@ -356,7 +356,8 @@ class IndexController extends AbstractAction | @@ -356,7 +356,8 @@ class IndexController extends AbstractAction | ||
356 | } | 356 | } |
357 | 357 | ||
358 | if (empty($result)) { | 358 | if (empty($result)) { |
359 | - echo ' '; | 359 | + // 这儿需要返回空数组,勿改!!! |
360 | + echo '[]'; | ||
360 | } else { | 361 | } else { |
361 | $this->echoJson($result); | 362 | $this->echoJson($result); |
362 | } | 363 | } |
-
Please register or login to post a comment