Authored by unknown

最新降价暂时先取一年的

@@ -41,7 +41,7 @@ public class ReducePriceSceneService extends AbstractSceneService { @@ -41,7 +41,7 @@ public class ReducePriceSceneService extends AbstractSceneService {
41 paramMap.put(SearchRequestParams.PARAM_SEARCH_ISDISCOUNT, "Y"); 41 paramMap.put(SearchRequestParams.PARAM_SEARCH_ISDISCOUNT, "Y");
42 // 默认一周降价 42 // 默认一周降价
43 long begin = DateUtil.getLastTimeSecond(new Date()); 43 long begin = DateUtil.getLastTimeSecond(new Date());
44 - long end = DateUtil.getFirstTimeSecond(DateUtil.addDay(new Date(), -7)); 44 + long end = DateUtil.getFirstTimeSecond(DateUtil.addDay(new Date(), -365));
45 paramMap.put(SearchRequestParams.PARAM_SEARCH_PRICE_UPDATE_TIME, begin + "," + end); 45 paramMap.put(SearchRequestParams.PARAM_SEARCH_PRICE_UPDATE_TIME, begin + "," + end);
46 } 46 }
47 47