Compare commits
3 Commits
24ab5dd06a
...
3b4b422aea
Author | SHA1 | Date | |
---|---|---|---|
![]() |
3b4b422aea | ||
![]() |
e61477af60 | ||
![]() |
15a50cc52f |
@ -282,7 +282,7 @@ public class AttendanceServiceImpl implements AttendanceService {
|
||||
Boolean flag = stringRedisTemplate.hasKey(key);
|
||||
// 缓存不存在
|
||||
if (Boolean.FALSE.equals(flag)) {
|
||||
String url = "https://timor.tech/api/holiday/year/" + year;
|
||||
String url = "http://timor.tech/api/holiday/year/" + year;
|
||||
String json = HttpUtil.get(url, 3000);
|
||||
Map<String, String> map = new HashMap<>();
|
||||
JSONObject jsonObject = JSONUtil.parseObj(json);
|
||||
@ -1190,7 +1190,7 @@ public class AttendanceServiceImpl implements AttendanceService {
|
||||
Boolean flag = stringRedisTemplate.hasKey(key);
|
||||
// 缓存不存在
|
||||
if (Boolean.FALSE.equals(flag)) {
|
||||
String url = "https://timor.tech/api/holiday/year/" + year;
|
||||
String url = "http://timor.tech/api/holiday/year/" + year;
|
||||
String json = HttpUtil.get(url, 3000);
|
||||
Map<String, String> map = new HashMap<>();
|
||||
JSONObject jsonObject = JSONUtil.parseObj(json);
|
||||
|
Loading…
Reference in New Issue
Block a user