WxCpProperties.java 746 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. package org.ruoyi.config;
  2. import lombok.Data;
  3. import lombok.Getter;
  4. import lombok.Setter;
  5. import java.util.List;
  6. /**
  7. * @author <a href="https://github.com/binarywang">Binary Wang</a>
  8. */
  9. @Data
  10. public class WxCpProperties {
  11. /**
  12. * 设置企业微信的corpId
  13. */
  14. private String corpId;
  15. private List<AppConfig> appConfigs;
  16. @Getter
  17. @Setter
  18. public static class AppConfig {
  19. /**
  20. * 设置企业微信应用的AgentId
  21. */
  22. private Integer agentId;
  23. /**
  24. * 设置企业微信应用的Secret
  25. */
  26. private String secret;
  27. /**
  28. * 设置企业微信应用的token
  29. */
  30. private String token;
  31. /**
  32. * 设置企业微信应用的EncodingAESKey
  33. */
  34. private String aesKey;
  35. }
  36. }