tp5.1 API接口 自定义抛出异常 参考文章: (1)tp5.1 API接口 自定义抛出异常 (2)https://www.cnblogs.com/zhangcheng001/p/12340664.html 备忘一下。