Compare commits
No commits in common. "3b4b422aeaffd3784eeb4e32df4a4ec15afb0f68" and "24ab5dd06a2d5587a42211f9668b98440c4c8e56" have entirely different histories.
3b4b422aea
...
24ab5dd06a
@ -282,7 +282,7 @@ public class AttendanceServiceImpl implements AttendanceService {
|
||||
Boolean flag = stringRedisTemplate.hasKey(key);
|
||||
// 缓存不存在
|
||||
if (Boolean.FALSE.equals(flag)) {
|
||||
String url = "http://timor.tech/api/holiday/year/" + year;
|
||||
String url = "https://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 = "http://timor.tech/api/holiday/year/" + year;
|
||||
String url = "https://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