laravel的AJAX Response 2016-03-26 本文已影响147人 vikin_ laravel框架在使用ajax的时候,方法返回数据的时候,不需要使用json_encode,直接返回【数组】,laravel会自动转为json响应!