ErrorEnum.php 567 B

1234567891011121314151617181920212223242526
  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. const ERROR_KFC_URL = [425,"KFC转链失败"];
  15. const ERROR_REDIS_LOCK = [426,"加锁失败"];
  16. const ERROR_EXIST_PLATFORM = [427,"平台类型不存在"];
  17. const ERROR_MEITUAN_LINK= [428,"美团转链失败"];
  18. }