DingtalkConfig.java 734 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. package com.xjrsoft.config;
  2. import lombok.Data;
  3. import org.springframework.boot.context.properties.ConfigurationProperties;
  4. import org.springframework.stereotype.Component;
  5. /**
  6. * @Author: tzx
  7. * @Date: 2023/8/9 16:51
  8. */
  9. @Data
  10. @Component
  11. @ConfigurationProperties("xjrsoft.dingtalk")
  12. public class DingtalkConfig {
  13. /**
  14. * appkey 或者 clientId
  15. */
  16. private String appKey;
  17. /**
  18. * appSecret 或者 clientSecret
  19. */
  20. private String appSecret;
  21. /**
  22. * agentid
  23. */
  24. private String agentid;
  25. /**
  26. * redirectUri 回调地址
  27. */
  28. private String redirectUri;
  29. /**
  30. * frontUrl 回调地址
  31. */
  32. private String frontUrl;
  33. }