阿神2017-05-16 16:50:47
The problem has been solved. Just change the following code to this. It’s really cheating
exit(json_encode($a));
changed to:
return $a;
黄舟2017-05-16 16:50:47
There will be subsequent code execution after return in laravel's controller.