调解系统后端服务

CallbackConfig.java 589B

1234567891011121314151617181920212223
  1. package com.ruoyi.config;
  2. import lombok.Data;
  3. import org.springframework.beans.factory.annotation.Value;
  4. import org.springframework.boot.context.properties.ConfigurationProperties;
  5. import org.springframework.stereotype.Component;
  6. /**
  7. * 微信权限对接类
  8. */
  9. @Component
  10. @ConfigurationProperties("elegent.pay.callback")
  11. @Data
  12. public class CallbackConfig {
  13. private String domain; //回调域名
  14. @Value("${elegent.pay.callback.watch:false}")
  15. private boolean watch; //是否开启监听
  16. @Value("${elegent.pay.callback.cycle:10}")
  17. private int cycle;//检查周期
  18. }