The problem has been solved. Just change the following code to this. It’s really cheating
exit(json_encode($a));
changed to:
return $a;
There will be subsequent code execution after return in laravel's controller.
The problem has been solved. Just change the following code to this. It’s really cheating
changed to:
There will be subsequent code execution after return in laravel's controller.