ErrorCode.Class.php 671 B

12345678910111213141516171819202122232425
  1. <?php
  2. namespace JinDouYun\Controller;
  3. /**
  4. * error code 说明.
  5. * <ul>
  6. * <li>-900004: encodingAesKey 非法</li>
  7. * <li>-900005: 签名验证错误</li>
  8. * <li>-900006: sha加密生成签名失败</li>
  9. * <li>-900007: aes 加密失败</li>
  10. * <li>-900008: aes 解密失败</li>
  11. * <li>-900010: suiteKey 校验错误</li>
  12. * </ul>
  13. */
  14. class ErrorCode
  15. {
  16. public static $OK = 0;
  17. public static $IllegalAesKey = 900004;
  18. public static $ValidateSignatureError = 900005;
  19. public static $ComputeSignatureError = 900006;
  20. public static $EncryptAESError = 900007;
  21. public static $DecryptAESError = 900008;
  22. public static $ValidateSuiteKeyError = 900010;
  23. }
  24. ?>