Authored by hugufei

去除一些无用的字段返回

@@ -35,7 +35,6 @@ public class ProductIndexBaseService { @@ -35,7 +35,6 @@ public class ProductIndexBaseService {
35 productIndexIncludeFields.add(ProductIndexEsField.productId); 35 productIndexIncludeFields.add(ProductIndexEsField.productId);
36 productIndexIncludeFields.add(ProductIndexEsField.productName); 36 productIndexIncludeFields.add(ProductIndexEsField.productName);
37 productIndexIncludeFields.add(ProductIndexEsField.productSkn); 37 productIndexIncludeFields.add(ProductIndexEsField.productSkn);
38 - //productIndexIncludeFields.add(ProductIndexEsField.cnAlphabet);  
39 38
40 productIndexIncludeFields.add(ProductIndexEsField.brandId); 39 productIndexIncludeFields.add(ProductIndexEsField.brandId);
41 productIndexIncludeFields.add(ProductIndexEsField.brandName); 40 productIndexIncludeFields.add(ProductIndexEsField.brandName);
@@ -75,8 +74,6 @@ public class ProductIndexBaseService { @@ -75,8 +74,6 @@ public class ProductIndexBaseService {
75 74
76 productIndexIncludeFields.add(ProductIndexEsField.gender); 75 productIndexIncludeFields.add(ProductIndexEsField.gender);
77 productIndexIncludeFields.add(ProductIndexEsField.ageLevel); 76 productIndexIncludeFields.add(ProductIndexEsField.ageLevel);
78 - // productIndexIncludeFields.add(ProductIndexEsField.salesPhrase);  
79 - // productIndexIncludeFields.add(ProductIndexEsField.phrase);  
80 productIndexIncludeFields.add(ProductIndexEsField.status); 77 productIndexIncludeFields.add(ProductIndexEsField.status);
81 productIndexIncludeFields.add(ProductIndexEsField.goodsList); 78 productIndexIncludeFields.add(ProductIndexEsField.goodsList);
82 79
@@ -131,7 +128,6 @@ public class ProductIndexBaseService { @@ -131,7 +128,6 @@ public class ProductIndexBaseService {
131 productMap.put("product_id", MapUtils.getIntValue(map, ProductIndexEsField.productId, 0)); 128 productMap.put("product_id", MapUtils.getIntValue(map, ProductIndexEsField.productId, 0));
132 productMap.put("product_name", MapUtils.getString(map, ProductIndexEsField.productName, "")); 129 productMap.put("product_name", MapUtils.getString(map, ProductIndexEsField.productName, ""));
133 productMap.put("product_skn", MapUtils.getIntValue(map, ProductIndexEsField.productSkn, 0)); 130 productMap.put("product_skn", MapUtils.getIntValue(map, ProductIndexEsField.productSkn, 0));
134 - productMap.put("cn_alphabet", MapUtils.getString(map, ProductIndexEsField.cnAlphabet, ""));  
135 131
136 productMap.put("brand_id", MapUtils.getIntValue(map, ProductIndexEsField.brandId, 0)); 132 productMap.put("brand_id", MapUtils.getIntValue(map, ProductIndexEsField.brandId, 0));
137 productMap.put("brand_name", MapUtils.getString(map, ProductIndexEsField.brandName, "")); 133 productMap.put("brand_name", MapUtils.getString(map, ProductIndexEsField.brandName, ""));
@@ -173,7 +169,6 @@ public class ProductIndexBaseService { @@ -173,7 +169,6 @@ public class ProductIndexBaseService {
173 169
174 productMap.put("gender", MapUtils.getString(map, ProductIndexEsField.gender, "")); 170 productMap.put("gender", MapUtils.getString(map, ProductIndexEsField.gender, ""));
175 productMap.put("age_level", MapUtils.getString(map, ProductIndexEsField.ageLevel, ""));// 年龄层,逗号隔开的字符串 171 productMap.put("age_level", MapUtils.getString(map, ProductIndexEsField.ageLevel, ""));// 年龄层,逗号隔开的字符串
176 - productMap.put("sales_phrase", MapUtils.getString(map, ProductIndexEsField.salesPhrase, ""));  
177 productMap.put("phrase", MapUtils.getString(map, ProductIndexEsField.phrase, "")); 172 productMap.put("phrase", MapUtils.getString(map, ProductIndexEsField.phrase, ""));
178 productMap.put("status", MapUtils.getIntValue(map, ProductIndexEsField.status, 0)); 173 productMap.put("status", MapUtils.getIntValue(map, ProductIndexEsField.status, 0));
179 productMap.put("goods_list", MapUtils.getObject(map, ProductIndexEsField.goodsList, new JSONArray())); 174 productMap.put("goods_list", MapUtils.getObject(map, ProductIndexEsField.goodsList, new JSONArray()));