修改企业信息同步,监控信息同步定时任务
This commit is contained in:
parent
d70848bf9b
commit
e9834714b4
|
|
@ -13,4 +13,5 @@ import org.springframework.scheduling.annotation.EnableScheduling;
|
|||
@ConditionalOnProperty(prefix = "scheduler", name = "enabled", havingValue = "true")
|
||||
public class SchedulerConfig {
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,6 +41,7 @@ public class AgencyScheduleService {
|
|||
@Value("${third-party.agency.query:}")
|
||||
private String agencyUrl;
|
||||
|
||||
|
||||
@Value("${third-party.enterprise.yddh:}") // 使用正确的配置项获取令牌标识
|
||||
private String agencyTokenMobilePhone;
|
||||
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@ public class EnterpriseJoinScheduleService {
|
|||
private final AuthService authService;
|
||||
private final SsoClientProperties ssoClientProperties;
|
||||
|
||||
|
||||
@Value("${third-party.enterprise.yddh:}") // 使用正确的配置项获取令牌标识
|
||||
private String tokenMobilePhone;
|
||||
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@ public class EnterprisePoniteScheduleService {
|
|||
private String accessToken;
|
||||
private String tokenType;
|
||||
private String refreshToken;
|
||||
|
||||
private final ObjectMapper objectMapper;
|
||||
private static final DateTimeFormatter DATE_TIME_FORMATTER = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");
|
||||
|
||||
|
|
|
|||
|
|
@ -47,6 +47,7 @@ public class EnterpriseScheduleService {
|
|||
private final String queryUrl;
|
||||
private final String mobilePhone;
|
||||
private String accessToken;
|
||||
|
||||
private String tokenType;
|
||||
private String refreshToken;
|
||||
private final String produceLicensePage;
|
||||
|
|
|
|||
Loading…
Reference in New Issue