摘要:
创建验证器基类 app/validate/BaseValidate.php <?php namespace app\validate; use think\Validate; use app\lib\exception\BaseException; class BaseValidate extend 阅读全文
摘要:
创建自定义异常类基类 app/lib/exception/BaseException.php <?php namespace app\lib\exception; use Exception; use Throwable; class BaseException extends Exception 阅读全文