Code.php 607 B

1234567891011121314151617181920
  1. <?php
  2. declare(strict_types=1);
  3. namespace catcher;
  4. class Code
  5. {
  6. public const SUCCESS = 10000; // 成功
  7. public const LOST_LOGIN = 10001; // 登录失效
  8. public const VALIDATE_FAILED = 10002; // 验证错误
  9. public const PERMISSION_FORBIDDEN = 10003; // 权限禁止
  10. public const LOGIN_FAILED = 10004; // 登录失败
  11. public const FAILED = 10005; // 操作失败
  12. public const LOGIN_EXPIRED = 10006; // 登录失效
  13. public const LOGIN_BLACKLIST = 10007; // 黑名单
  14. public const USER_FORBIDDEN = 10008; // 账户被禁
  15. public const WECHAT_RESPONSE_ERROR = 40000;
  16. }