|  |  |  | 
|---|
|  |  |  | private static final String JobGroupName = "VideoYsGroup" ; | 
|---|
|  |  |  | private static final Integer ThreadPoolMaxCount = 1 ;//线程池线程最大个数 | 
|---|
|  |  |  | private static final Integer ThreadPoolPriority = 5 ;//线程优先级 | 
|---|
|  |  |  | private static final boolean quartzJobRunOneTimes = true ;//定时任务只执行一次 | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Value("${ys.accessTokenExpireDay: 7}") | 
|---|
|  |  |  | @Value("${video.ys.accessTokenExpireDay: 7}") | 
|---|
|  |  |  | protected Integer accessTokenExpireDay;//AccessToken过期时间,单位天 | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Value("${ys.appKey}") | 
|---|
|  |  |  | @Value("${video.ys.appKey}") | 
|---|
|  |  |  | protected String appKey; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Value("${ys.secret}") | 
|---|
|  |  |  | @Value("${video.ys.secret}") | 
|---|
|  |  |  | protected String secret; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Value("${ys.requestAccessTokenUrl}") | 
|---|
|  |  |  | @Value("${video.ys.requestAccessTokenUrl}") | 
|---|
|  |  |  | protected String requestAccessTokenUrl; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Autowired | 
|---|