laravel 自定义API异常处理类

1.创建ApiException.php

 

2.修改Handler.php

 

posted @ 2019-08-02 16:41  HelpYourself!  阅读(1664)  评论(0编辑  收藏  举报