ErrorEnum.php 339 B

123456789101112131415161718
  1. <?php
  2. namespace App\Http\Enum;
  3. /**
  4. * 错误枚举类
  5. * Class ErrorEnum
  6. * @package App\Http\Enum
  7. */
  8. class ErrorEnum
  9. {
  10. //100开头对应的验证错误
  11. const ERROR_VALIDATE=[100,"参数验证失败"];
  12. const ERROR_ACCOUNT_EXIST=[103,"公众号不存在"];
  13. const VALIDATE_TOKEN=[403,"token已过期,请重新登录"];
  14. }