From a40e2e6284dce07a95cfac5dfa60de37b13abade Mon Sep 17 00:00:00 2001
From: wayn <1669738430@qq.com>
Date: Sun, 26 Feb 2023 18:03:21 +0800
Subject: [PATCH] =?UTF-8?q?feat(=E5=95=86=E5=9F=8E):=20=E5=8D=87=E7=BA=A7?=
=?UTF-8?q?=E4=BE=9D=E8=B5=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pom.xml | 2 +-
.../com/wayn/mobile/api/service/impl/IHomeServiceImpl.java | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index e5a3cab..0ec9716 100644
--- a/pom.xml
+++ b/pom.xml
@@ -37,7 +37,7 @@
1.2.15
2.11.0
4.4
- 1.4
+ 1.5
3.12.0
2.0.23
1.6.2
diff --git a/waynboot-mobile-api/src/main/java/com/wayn/mobile/api/service/impl/IHomeServiceImpl.java b/waynboot-mobile-api/src/main/java/com/wayn/mobile/api/service/impl/IHomeServiceImpl.java
index 798d39d..fd3bffd 100644
--- a/waynboot-mobile-api/src/main/java/com/wayn/mobile/api/service/impl/IHomeServiceImpl.java
+++ b/waynboot-mobile-api/src/main/java/com/wayn/mobile/api/service/impl/IHomeServiceImpl.java
@@ -46,6 +46,7 @@ public class IHomeServiceImpl implements IHomeService {
@Override
public R getHomeIndexDataCompletableFuture() {
+ log.info("getHomeIndexDataCompletableFuture begin");
R success = R.success();
Map shopHomeIndexHash = redisCache.getCacheMap(SHOP_HOME_INDEX_HASH);
// 当缓存中存在数据,并且过期时间不为空而且小于等于过期时间则直接从缓存中取出数据
@@ -53,7 +54,7 @@ public class IHomeServiceImpl implements IHomeService {
long time = (long) shopHomeIndexHash.get(SHOP_HOME_INDEX_HASH_EXPIRATION_FIELD);
if ((new Date().getTime() - time) <= Constants.ONE_DAY) {
shopHomeIndexHash.forEach(success::add);
- log.info("getHomeIndexDataCompletableFuture:{}", success);
+ log.info("getHomeIndexDataCompletableFuture end");
return success;
}
}