修改企业信息同步,监控信息同步定时任务

This commit is contained in:
luolianxin 2025-04-03 20:02:01 +08:00
parent d70848bf9b
commit e9834714b4
5 changed files with 5 additions and 0 deletions

View File

@ -13,4 +13,5 @@ import org.springframework.scheduling.annotation.EnableScheduling;
@ConditionalOnProperty(prefix = "scheduler", name = "enabled", havingValue = "true") @ConditionalOnProperty(prefix = "scheduler", name = "enabled", havingValue = "true")
public class SchedulerConfig { public class SchedulerConfig {
} }

View File

@ -41,6 +41,7 @@ public class AgencyScheduleService {
@Value("${third-party.agency.query:}") @Value("${third-party.agency.query:}")
private String agencyUrl; private String agencyUrl;
@Value("${third-party.enterprise.yddh:}") // 使用正确的配置项获取令牌标识 @Value("${third-party.enterprise.yddh:}") // 使用正确的配置项获取令牌标识
private String agencyTokenMobilePhone; private String agencyTokenMobilePhone;

View File

@ -38,6 +38,7 @@ public class EnterpriseJoinScheduleService {
private final AuthService authService; private final AuthService authService;
private final SsoClientProperties ssoClientProperties; private final SsoClientProperties ssoClientProperties;
@Value("${third-party.enterprise.yddh:}") // 使用正确的配置项获取令牌标识 @Value("${third-party.enterprise.yddh:}") // 使用正确的配置项获取令牌标识
private String tokenMobilePhone; private String tokenMobilePhone;

View File

@ -44,6 +44,7 @@ public class EnterprisePoniteScheduleService {
private String accessToken; private String accessToken;
private String tokenType; private String tokenType;
private String refreshToken; private String refreshToken;
private final ObjectMapper objectMapper; private final ObjectMapper objectMapper;
private static final DateTimeFormatter DATE_TIME_FORMATTER = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"); private static final DateTimeFormatter DATE_TIME_FORMATTER = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");

View File

@ -47,6 +47,7 @@ public class EnterpriseScheduleService {
private final String queryUrl; private final String queryUrl;
private final String mobilePhone; private final String mobilePhone;
private String accessToken; private String accessToken;
private String tokenType; private String tokenType;
private String refreshToken; private String refreshToken;
private final String produceLicensePage; private final String produceLicensePage;