middleware - laravel middleware issues
淡淡烟草味
淡淡烟草味 2017-05-16 16:48:47
0
2
397

As shown in the picture above, why does the route pointed by the arrow not enter the vue middleware, but the above route can enter? How to solve this? Waiting online

淡淡烟草味
淡淡烟草味

reply all(2)
阿神

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.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template