新增后台基础公共库

This commit is contained in:
wuyanwen
2019-12-12 18:54:07 +08:00
parent 4a5993160f
commit d53b0bae73
6 changed files with 54 additions and 16 deletions

View File

@@ -1,7 +1,7 @@
<?php
namespace cather\exceptions;
namespace catcher\exceptions;
class LoginFailedException extends \Exception
{
protected $code = 10002;
}
protected $code = 10010;
}

View File

@@ -1 +1,9 @@
<?php
namespace catcher\exceptions;
class PermissionForbiddenException extends \Exception
{
protected $code = 10005;
protected $message = 'permission forbidden';
}