You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

ResultCode.java 490 B

12345678910111213141516171819202122232425262728293031
  1. package com.xkcoding.ldap.api;
  2. import lombok.AllArgsConstructor;
  3. import lombok.Getter;
  4. /**
  5. * ResultCode
  6. *
  7. * @author fxbin
  8. * @version v1.0
  9. * @since 2019/8/26 1:47
  10. */
  11. @Getter
  12. @AllArgsConstructor
  13. public enum ResultCode {
  14. /**
  15. * 接口调用成功
  16. */
  17. SUCCESS(0, "Request Successful"),
  18. /**
  19. * 服务器暂不可用,建议稍候重试。建议重试次数不超过3次。
  20. */
  21. FAILURE(-1, "System Busy");
  22. final int code;
  23. final String msg;
  24. }

一个用来深度学习并实战 spring boot 的项目,目前总共包含 66 个集成demo,已经完成 55 个。