Authored by hf

fixes some bugs to gzip css and js

@@ -838,7 +838,7 @@ class HomeController extends AbstractAction @@ -838,7 +838,7 @@ class HomeController extends AbstractAction
838 break; 838 break;
839 } 839 }
840 840
841 - $this->echoJson($result['data']); 841 + $this->echoJson(array('code' => 200, 'data' => array('jsApiParameters' => $result['data'])) );
842 } 842 }
843 while (false); 843 while (false);
844 } 844 }