Authored by Lixiaodi

发售日历类型 1:有货; 2:ufo ; 3:混合

... ... @@ -480,6 +480,9 @@ public class ProductSearchServiceImpl implements ProductSearchService {
try {
SearchParam searchParam = new SearchParam();
if (!StringUtils.equals("1", type) && !StringUtils.equals("2", type)) {
type = "3";
}
searchParam.setType(type);
countMap = search(searchParam.getParam(), url).getJSONObject("sale_date_count_list");
} catch (Exception e) {
... ... @@ -530,6 +533,9 @@ public class ProductSearchServiceImpl implements ProductSearchService {
ProductSearchReq req = new ProductSearchReq();
req.setStartTime(startTime).setEndTime(endTime);
SearchParam searchParam = new SearchParam().buildPageSearchParam(req);
if (!StringUtils.equals("1", type) && !StringUtils.equals("2", type)) {
type = "3";
}
searchParam.setType(type);
JSONObject data = search(searchParam.getParam(), NEW_SALE_CALENDAR_LIST_URL);
// 将图片的相对路径转成绝对路径
... ...