Commit 65e04325 by zhiwj

修改bug

parent d57d2929
......@@ -35,7 +35,6 @@ import org.elasticsearch.common.geo.GeoUtils;
import org.redisson.api.RKeys;
import org.redisson.api.RedissonClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
......@@ -52,8 +51,7 @@ import java.util.stream.Collectors;
@SuppressWarnings("unchecked")
public class StoreApiServiceImpl implements StoreApiService {
private static final Logger logger = LogManager.getLogger(StoreApiServiceImpl.class);
@Value("${storeExpiredTime}")
private Long storeExpiredTime;
private Long storeExpiredTime = 1L;
@Autowired
private StoreService storeService;
@Autowired
......
dubbo.registry.file=gic-store-service
# 门店详情过期时间 单位:小时
storeExpiredTime=1
\ No newline at end of file
dubbo.registry.file=gic-store-service
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment