优化mqlinster代码结构,减少重复代码
Showing
1 changed file
with
2 additions
and
2 deletions
@@ -66,8 +66,8 @@ public abstract class AbstractStorageRelatedMqListener extends AbstractMqListene | @@ -66,8 +66,8 @@ public abstract class AbstractStorageRelatedMqListener extends AbstractMqListene | ||
66 | indexData.put("colorNames", StringUtils.join(colorNameSet, ",")); | 66 | indexData.put("colorNames", StringUtils.join(colorNameSet, ",")); |
67 | } else { | 67 | } else { |
68 | indexData.put("goodsList", new JSONArray()); | 68 | indexData.put("goodsList", new JSONArray()); |
69 | - indexData.put("colorIds", " "); | ||
70 | - indexData.put("colorNames", " "); | 69 | + indexData.put("colorIds", ""); |
70 | + indexData.put("colorNames", ""); | ||
71 | } | 71 | } |
72 | } | 72 | } |
73 | } | 73 | } |
-
Please register or login to post a comment