有一组数据,需要根据tag便签分组,分组后的tag再根据日期进行分组;
显示样式:
数据库查询出源数据:
final static String lists = "[ { " + " "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190301/86615856382.png", " + " "expireTime" : "2020-02-01", " + " "createTime" : "2020·06·12", " + " "goodsId" : 1080005006, " + " "tag" : "美世佳福荟平台", " + " "userType" : "1", " + " "pwd" : "NdmRcS08s9s", " + " "goodsName" : "星礼卡500元", " + " "cardNo" : "xbk500201906180002" " + "}, { " + " "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190301/86615856382.png", " + " "expireTime" : "2020-02-04", " + " "createTime" : "2020·06·12", " + " "goodsId" : 1080005006, " + " "tag" : "美世佳福荟平台", " + " "userType" : "1", " + " "pwd" : "NdmRcS08s9s", " + " "goodsName" : "星礼卡500元", " + " "cardNo" : "xbk500201906180001" " + "}, { " + " "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190328/49557215913.png", " + " "expireTime" : "2022-01-01", " + " "createTime" : "2020·06·11", " + " "goodsId" : 1080005009, " + " "tag" : "美世佳福荟平台", " + " "userType" : "1", " + " "pwd" : "NdmRcS08s9s", " + " "goodsName" : "携程任我行礼品卡500元", " + " "cardNo" : "xc500201906180004" " + "}, { " + " "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190328/49557215913.png", " + " "expireTime" : "2022-01-01", " + " "createTime" : "2020·06·11", " + " "goodsId" : 1080005009, " + " "tag" : "美世佳福荟平台", " + " "userType" : "1", " + " "pwd" : "NdmRcS08s9s", " + " "goodsName" : "携程任我行礼品卡500元", " + " "cardNo" : "xc500201906180003" " + "}, { " + " "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190328/49557215913.png", " + " "expireTime" : "2022-01-01", " + " "createTime" : "2020·06·11", " + " "goodsId" : 1080005009, " + " "tag" : "美世佳福荟平台", " + " "userType" : "1", " + " "pwd" : "NdmRcS08s9s", " + " "goodsName" : "携程任我行礼品卡500元", " + " "cardNo" : "xc500201906180002" " + "}, { " + " "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190328/49557215913.png", " + " "expireTime" : "2022-01-01", " + " "createTime" : "2020·06·11", " + " "goodsId" : 1080005009, " + " "tag" : "美世佳福荟平台", " + " "userType" : "1", " + " "pwd" : "NdmRcS08s9s", " + " "goodsName" : "携程任我行礼品卡500元", " + " "cardNo" : "xc500201906180001" " + "}, { " + " "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190409/54769178011.png", " + " "expireTime" : "2022-01-01", " + " "createTime" : "2019·06·18", " + " "goodsId" : 1080002013, " + " "tag" : "翰威特平台", " + " "userType" : "3", " + " "pwd" : "NdmRcS08s9s", " + " "goodsName" : "盒马鲜生电子卡200元", " + " "cardNo" : "http://www.baidu.com?hm200201906180002" " + "}, { " + " "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190409/54769178011.png", " + " "expireTime" : "2022-01-01", " + " "createTime" : "2019·06·18", " + " "goodsId" : 1080002013, " + " "tag" : "翰威特平台", " + " "userType" : "1", " + " "pwd" : "NdmRcS08s9s", " + " "goodsName" : "盒马鲜生电子卡200元", " + " "cardNo" : "hm200201906180001" " + "}, { " + " "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190409/07138963915.png", " + " "expireTime" : "2022-01-01", " + " "createTime" : "2019·06·17", " + " "goodsId" : 1080000625, " + " "tag" : "翰威特平台", " + " "userType" : "1", " + " "pwd" : "NdmRcS08s9s", " + " "goodsName" : "盒马鲜生电子卡100元", " + " "cardNo" : "hm100201906180001" " + "}, { " + " "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190328/49557215913.png", " + " "expireTime" : "2022-01-01", " + " "createTime" : "2019·06·16", " + " "goodsId" : 1080005010, " + " "tag" : "翰威特平台", " + " "userType" : "1", " + " "pwd" : "NdmRcS08s9s", " + " "goodsName" : "携程任我行礼品卡1000元", " + " "cardNo" : "xc1000201906180012" " + "}, { " + " "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190328/49557215913.png", " + " "expireTime" : "2022-01-01", " + " "createTime" : "2019·06·16", " + " "goodsId" : 1080005010, " + " "tag" : "翰威特平台", " + " "userType" : "1", " + " "pwd" : "NdmRcS08s9s", " + " "goodsName" : "携程任我行礼品卡1000元", " + " "cardNo" : "xc1000201906180011" " + "}, { " + " "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190328/49557215913.png", " + " "expireTime" : "2022-01-01", " + " "createTime" : "2019·06·16", " + " "goodsId" : 1080005010, " + " "tag" : "翰威特平台", " + " "userType" : "1", " + " "pwd" : "NdmRcS08s9s", " + " "goodsName" : "携程任我行礼品卡1000元", " + " "cardNo" : "xc1000201906180010" " + "}, { " + " "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190328/49557215913.png", " + " "expireTime" : "2022-01-01", " + " "createTime" : "2019·06·15", " + " "goodsId" : 1080005010, " + " "tag" : "翰威特平台", " + " "userType" : "1", " + " "pwd" : "NdmRcS08s9s", " + " "goodsName" : "携程任我行礼品卡1000元", " + " "cardNo" : "xc1000201906180009" " + "}, { " + " "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190328/49557215913.png", " + " "expireTime" : "2022-01-01", " + " "createTime" : "2019·06·15", " + " "goodsId" : 1080005010, " + " "tag" : "翰威特平台", " + " "userType" : "1", " + " "pwd" : "NdmRcS08s9s", " + " "goodsName" : "携程任我行礼品卡1000元", " + " "cardNo" : "xc1000201906180008" " + "}, { " + " "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190328/49557215913.png", " + " "expireTime" : "2022-01-01", " + " "createTime" : "2019·06·15", " + " "goodsId" : 1080005010, " + " "tag" : "翰威特平台", " + " "userType" : "1", " + " "pwd" : "NdmRcS08s9s", " + " "goodsName" : "携程任我行礼品卡1000元", " + " "cardNo" : "xc1000201906180007" " + "}, { " + " "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190328/49557215913.png", " + " "expireTime" : "2022-01-01", " + " "createTime" : "2019·06·15", " + " "goodsId" : 1080005010, " + " "tag" : "翰威特平台", " + " "userType" : "1", " + " "pwd" : "NdmRcS08s9s", " + " "goodsName" : "携程任我行礼品卡1000元", " + " "cardNo" : "xc1000201906180006" " + "}, { " + " "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190328/49557215913.png", " + " "expireTime" : "2022-01-01", " + " "createTime" : "2019·06·15", " + " "goodsId" : 1080005010, " + " "tag" : "翰威特平台", " + " "userType" : "1", " + " "pwd" : "NdmRcS08s9s", " + " "goodsName" : "携程任我行礼品卡1000元", " + " "cardNo" : "xc1000201906180005" " + "}, { " + " "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190328/49557215913.png", " + " "expireTime" : "2022-01-01", " + " "createTime" : "2019·06·15", " + " "goodsId" : 1080005010, " + " "tag" : "翰威特平台", " + " "userType" : "1", " + " "pwd" : "NdmRcS08s9s", " + " "goodsName" : "携程任我行礼品卡1000元", " + " "cardNo" : "xc1000201906180004" " + "}, { " + " "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190328/49557215913.png", " + " "expireTime" : "2022-01-01", " + " "createTime" : "2019·06·15", " + " "goodsId" : 1080005010, " + " "tag" : "翰威特平台", " + " "userType" : "1", " + " "pwd" : "NdmRcS08s9s", " + " "goodsName" : "携程任我行礼品卡1000元", " + " "cardNo" : "xc1000201906180003" " + "}, { " + " "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190328/49557215913.png", " + " "expireTime" : "2022-01-01", " + " "createTime" : "2019·06·15", " + " "goodsId" : 1080005010, " + " "tag" : "翰威特平台", " + " "userType" : "1", " + " "pwd" : "NdmRcS08s9s", " + " "goodsName" : "携程任我行礼品卡1000元", " + " "cardNo" : "xc1000201906180002" " + "}, { " + " "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190328/49557215913.png", " + " "expireTime" : "2022-01-01", " + " "createTime" : "2019·06·15", " + " "goodsId" : 1080005010, " + " "tag" : "翰威特平台", " + " "userType" : "1", " + " "pwd" : "NdmRcS08s9s", " + " "goodsName" : "携程任我行礼品卡1000元", " + " "cardNo" : "xc1000201906180001" " + "}, { " + " "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190328/17160641005.png", " + " "expireTime" : "2022-01-01", " + " "createTime" : "2019·06·14", " + " "goodsId" : 1080002016, " + " "tag" : "翰威特平台", " + " "userType" : "1", " + " "pwd" : "NdmRcS08s9s", " + " "goodsName" : "淘票票电子卡100元", " + " "cardNo" : "tpp100201906180001" " + "}, { " + " "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190409/07138963915.png", " + " "expireTime" : "2022-01-01", " + " "createTime" : "2019·06·13", " + " "goodsId" : 1080002014, " + " "tag" : "翰威特平台", " + " "userType" : "1", " + " "pwd" : "NdmRcS08s9s", " + " "goodsName" : "盒马鲜生电子卡500元", " + " "cardNo" : "hm500201906180002" " + "}, { " + " "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190409/07138963915.png", " + " "expireTime" : "2022-01-01", " + " "createTime" : "2019·06·13", " + " "goodsId" : 1080002014, " + " "tag" : "翰威特平台", " + " "userType" : "1", " + " "pwd" : "NdmRcS08s9s", " + " "goodsName" : "盒马鲜生电子卡500元", " + " "cardNo" : "hm500201906180001" " + "}, { " + " "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190301/20468038749.png", " + " "expireTime" : "2022-01-01", " + " "createTime" : "2019·06·12", " + " "goodsId" : 1080005002, " + " "tag" : "翰威特平台", " + " "userType" : "1", " + " "pwd" : "NdmRcS08s9s", " + " "goodsName" : "京东500元电子卡", " + " "cardNo" : "jd500201906180001" " + "}, { " + " "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190409/93405319378.png", " + " "expireTime" : "2022-01-01", " + " "createTime" : "2019·06·11", " + " "goodsId" : 1080005013, " + " "tag" : "翰威特平台", " + " "userType" : "1", " + " "pwd" : "NdmRcS08s9s", " + " "goodsName" : "淘票票电子卡400元", " + " "cardNo" : "tpp400201906180002" " + "}, { " + " "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190409/93405319378.png", " + " "expireTime" : "2022-01-01", " + " "createTime" : "2019·06·11", " + " "goodsId" : 1080005013, " + " "tag" : "翰威特平台", " + " "userType" : "1", " + " "pwd" : "NdmRcS08s9s", " + " "goodsName" : "淘票票电子卡400元", " + " "cardNo" : "tpp400201906180001" " + "} ]";
使用jdk7的写法,很长- -
1 public static List<Map> java7Group(List<Map> list) { 2 long start = System.currentTimeMillis(); 3 Set<String> setTag = new HashSet<>(); 4 //日期倒序后的标签 5 Set<Map> setTag2 = new TreeSet<Map>((o1, o2) -> String.valueOf(o2.get("time")).compareTo(String.valueOf(o1.get("time")))); 6 //获取所有标签 7 for (Map map : list) { 8 String tag = String.valueOf(map.get("tag")); 9 if (!setTag.contains(tag)) { 10 setTag.add(tag); 11 Map tagMap = new HashMap(16); 12 tagMap.put("tag", tag); 13 tagMap.put("time", map.get("createTime")); 14 setTag2.add(tagMap); 15 } 16 } 17 List<Map> temp = new ArrayList<>(setTag2.size()); 18 List<Map> setTaglist = new ArrayList<>(setTag2); 19 for (int i = 0; i < setTaglist.size(); i++) { 20 Map map = new HashMap(16); 21 map.put("tag", setTaglist.get(i).get("tag")); 22 temp.add(map); 23 } 24 for (Map tag : temp) { 25 List<Map> listMap = new ArrayList<>(); 26 String tagStr = String.valueOf(tag.get("tag")); 27 //相同tag分到同一个组 28 for (Map map : list) { 29 String tagStr2 = String.valueOf(map.get("tag")); 30 if (tagStr.equals(tagStr2)) { 31 listMap.add(map); 32 } 33 } 34 List<Map> bitMap = new ArrayList<>(); 35 //同一个tag,根据日期在进行分组 36 for (Map data : listMap) { 37 int j = 0; 38 for (int i = 0; i < bitMap.size(); i++) { 39 Map map = bitMap.get(i); 40 String bitTime = String.valueOf(map.get("time")); 41 if (bitTime.equals(String.valueOf(data.get("createTime")))) { 42 List<Map> dataList = (List<Map>) map.get("data"); 43 dataList.add(data); 44 map.put("data", dataList); 45 j = 0; 46 break; 47 } else { 48 j++; 49 } 50 } 51 //如果bitMap为空或者没有相同日期新加日期组 52 if (bitMap.isEmpty() || j == bitMap.size()) { 53 Map<String, Object> bitData2 = new HashMap(); 54 List<Map> tempList = new ArrayList<>(); 55 tempList.add(data); 56 bitData2.put("data", tempList); 57 bitData2.put("time", String.valueOf(data.get("createTime"))); 58 bitMap.add(bitData2); 59 } 60 } 61 tag.put("bitData", bitMap); 62 } 63 long end = System.currentTimeMillis(); 64 System.out.println(("-----List---分组耗时-------" + (end - start) + "ms")); 65 return temp; 66 }
使用java8 lambda表达式进行精简
1 public static void java8Group(List<Map> list) { 2 long start = System.currentTimeMillis(); 3 //分组排序时记得Function<? super T, ? extends K> classifier,需要分组的关键字 4 // Supplier<M> mapFactory,默认为HashMap,没有顺序 5 // Collector<? super T, A, D> downstream 6 Map<String, List<Map>> groupBy = list.stream().collect(Collectors.groupingBy(e -> String.valueOf(e.get("tag")), LinkedHashMap::new, Collectors.toList())); 7 List<Map> list1 = new ArrayList<>(); 8 groupBy.forEach((k, v) -> { 9 List<Map> list2 = new ArrayList<>(); 10 Map map = new HashMap(16); 11 map.put("tag", k); 12 Map<String, List<Map>> groupBy2 = v.stream() 13 .collect(Collectors.groupingBy(e -> String.valueOf(e.get("createTime")), LinkedHashMap::new, Collectors.toList())); 14 groupBy2.forEach((k1, v1) -> { 15 Map map1 = new HashMap(16); 16 map1.put("time", k1); 17 map1.put("data", v1); 18 list2.add(map1); 19 }); 20 map.put("bitData", list2); 21 list1.add(map); 22 }); 23 long end = System.currentTimeMillis(); 24 System.out.println(("-----lambda---分组耗时-------" + (end - start) + "ms")); 25 System.out.println(JsonUtils.toJson(list1)); 26 }
但是这运行时长有点不香啊- -
分组后数据
[ { "bitData" : [ { "data" : [ { "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190301/86615856382.png", "expireTime" : "2020-02-01", "createTime" : "2020·06·12", "goodsId" : 1080005006, "tag" : "美世佳福荟平台", "userType" : "1", "pwd" : "NdmRcS08s9s", "goodsName" : "星礼卡500元", "cardNo" : "xbk500201906180002" }, { "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190301/86615856382.png", "expireTime" : "2020-02-04", "createTime" : "2020·06·12", "goodsId" : 1080005006, "tag" : "美世佳福荟平台", "userType" : "1", "pwd" : "NdmRcS08s9s", "goodsName" : "星礼卡500元", "cardNo" : "xbk500201906180001" } ], "time" : "2020·06·12" }, { "data" : [ { "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190328/49557215913.png", "expireTime" : "2022-01-01", "createTime" : "2020·06·11", "goodsId" : 1080005009, "tag" : "美世佳福荟平台", "userType" : "1", "pwd" : "NdmRcS08s9s", "goodsName" : "携程任我行礼品卡500元", "cardNo" : "xc500201906180004" }, { "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190328/49557215913.png", "expireTime" : "2022-01-01", "createTime" : "2020·06·11", "goodsId" : 1080005009, "tag" : "美世佳福荟平台", "userType" : "1", "pwd" : "NdmRcS08s9s", "goodsName" : "携程任我行礼品卡500元", "cardNo" : "xc500201906180003" }, { "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190328/49557215913.png", "expireTime" : "2022-01-01", "createTime" : "2020·06·11", "goodsId" : 1080005009, "tag" : "美世佳福荟平台", "userType" : "1", "pwd" : "NdmRcS08s9s", "goodsName" : "携程任我行礼品卡500元", "cardNo" : "xc500201906180002" }, { "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190328/49557215913.png", "expireTime" : "2022-01-01", "createTime" : "2020·06·11", "goodsId" : 1080005009, "tag" : "美世佳福荟平台", "userType" : "1", "pwd" : "NdmRcS08s9s", "goodsName" : "携程任我行礼品卡500元", "cardNo" : "xc500201906180001" } ], "time" : "2020·06·11" } ], "tag" : "美世佳福荟平台" }, { "bitData" : [ { "data" : [ { "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190409/54769178011.png", "expireTime" : "2022-01-01", "createTime" : "2019·06·18", "goodsId" : 1080002013, "tag" : "翰威特平台", "userType" : "3", "pwd" : "NdmRcS08s9s", "goodsName" : "盒马鲜生电子卡200元", "cardNo" : "http://www.baidu.com?hm200201906180002" }, { "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190409/54769178011.png", "expireTime" : "2022-01-01", "createTime" : "2019·06·18", "goodsId" : 1080002013, "tag" : "翰威特平台", "userType" : "1", "pwd" : "NdmRcS08s9s", "goodsName" : "盒马鲜生电子卡200元", "cardNo" : "hm200201906180001" } ], "time" : "2019·06·18" }, { "data" : [ { "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190409/07138963915.png", "expireTime" : "2022-01-01", "createTime" : "2019·06·17", "goodsId" : 1080000625, "tag" : "翰威特平台", "userType" : "1", "pwd" : "NdmRcS08s9s", "goodsName" : "盒马鲜生电子卡100元", "cardNo" : "hm100201906180001" } ], "time" : "2019·06·17" }, { "data" : [ { "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190328/49557215913.png", "expireTime" : "2022-01-01", "createTime" : "2019·06·16", "goodsId" : 1080005010, "tag" : "翰威特平台", "userType" : "1", "pwd" : "NdmRcS08s9s", "goodsName" : "携程任我行礼品卡1000元", "cardNo" : "xc1000201906180012" }, { "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190328/49557215913.png", "expireTime" : "2022-01-01", "createTime" : "2019·06·16", "goodsId" : 1080005010, "tag" : "翰威特平台", "userType" : "1", "pwd" : "NdmRcS08s9s", "goodsName" : "携程任我行礼品卡1000元", "cardNo" : "xc1000201906180011" }, { "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190328/49557215913.png", "expireTime" : "2022-01-01", "createTime" : "2019·06·16", "goodsId" : 1080005010, "tag" : "翰威特平台", "userType" : "1", "pwd" : "NdmRcS08s9s", "goodsName" : "携程任我行礼品卡1000元", "cardNo" : "xc1000201906180010" } ], "time" : "2019·06·16" }, { "data" : [ { "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190328/49557215913.png", "expireTime" : "2022-01-01", "createTime" : "2019·06·15", "goodsId" : 1080005010, "tag" : "翰威特平台", "userType" : "1", "pwd" : "NdmRcS08s9s", "goodsName" : "携程任我行礼品卡1000元", "cardNo" : "xc1000201906180009" }, { "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190328/49557215913.png", "expireTime" : "2022-01-01", "createTime" : "2019·06·15", "goodsId" : 1080005010, "tag" : "翰威特平台", "userType" : "1", "pwd" : "NdmRcS08s9s", "goodsName" : "携程任我行礼品卡1000元", "cardNo" : "xc1000201906180008" }, { "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190328/49557215913.png", "expireTime" : "2022-01-01", "createTime" : "2019·06·15", "goodsId" : 1080005010, "tag" : "翰威特平台", "userType" : "1", "pwd" : "NdmRcS08s9s", "goodsName" : "携程任我行礼品卡1000元", "cardNo" : "xc1000201906180007" }, { "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190328/49557215913.png", "expireTime" : "2022-01-01", "createTime" : "2019·06·15", "goodsId" : 1080005010, "tag" : "翰威特平台", "userType" : "1", "pwd" : "NdmRcS08s9s", "goodsName" : "携程任我行礼品卡1000元", "cardNo" : "xc1000201906180006" }, { "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190328/49557215913.png", "expireTime" : "2022-01-01", "createTime" : "2019·06·15", "goodsId" : 1080005010, "tag" : "翰威特平台", "userType" : "1", "pwd" : "NdmRcS08s9s", "goodsName" : "携程任我行礼品卡1000元", "cardNo" : "xc1000201906180005" }, { "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190328/49557215913.png", "expireTime" : "2022-01-01", "createTime" : "2019·06·15", "goodsId" : 1080005010, "tag" : "翰威特平台", "userType" : "1", "pwd" : "NdmRcS08s9s", "goodsName" : "携程任我行礼品卡1000元", "cardNo" : "xc1000201906180004" }, { "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190328/49557215913.png", "expireTime" : "2022-01-01", "createTime" : "2019·06·15", "goodsId" : 1080005010, "tag" : "翰威特平台", "userType" : "1", "pwd" : "NdmRcS08s9s", "goodsName" : "携程任我行礼品卡1000元", "cardNo" : "xc1000201906180003" }, { "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190328/49557215913.png", "expireTime" : "2022-01-01", "createTime" : "2019·06·15", "goodsId" : 1080005010, "tag" : "翰威特平台", "userType" : "1", "pwd" : "NdmRcS08s9s", "goodsName" : "携程任我行礼品卡1000元", "cardNo" : "xc1000201906180002" }, { "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190328/49557215913.png", "expireTime" : "2022-01-01", "createTime" : "2019·06·15", "goodsId" : 1080005010, "tag" : "翰威特平台", "userType" : "1", "pwd" : "NdmRcS08s9s", "goodsName" : "携程任我行礼品卡1000元", "cardNo" : "xc1000201906180001" } ], "time" : "2019·06·15" }, { "data" : [ { "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190328/17160641005.png", "expireTime" : "2022-01-01", "createTime" : "2019·06·14", "goodsId" : 1080002016, "tag" : "翰威特平台", "userType" : "1", "pwd" : "NdmRcS08s9s", "goodsName" : "淘票票电子卡100元", "cardNo" : "tpp100201906180001" } ], "time" : "2019·06·14" }, { "data" : [ { "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190409/07138963915.png", "expireTime" : "2022-01-01", "createTime" : "2019·06·13", "goodsId" : 1080002014, "tag" : "翰威特平台", "userType" : "1", "pwd" : "NdmRcS08s9s", "goodsName" : "盒马鲜生电子卡500元", "cardNo" : "hm500201906180002" }, { "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190409/07138963915.png", "expireTime" : "2022-01-01", "createTime" : "2019·06·13", "goodsId" : 1080002014, "tag" : "翰威特平台", "userType" : "1", "pwd" : "NdmRcS08s9s", "goodsName" : "盒马鲜生电子卡500元", "cardNo" : "hm500201906180001" } ], "time" : "2019·06·13" }, { "data" : [ { "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190301/20468038749.png", "expireTime" : "2022-01-01", "createTime" : "2019·06·12", "goodsId" : 1080005002, "tag" : "翰威特平台", "userType" : "1", "pwd" : "NdmRcS08s9s", "goodsName" : "京东500元电子卡", "cardNo" : "jd500201906180001" } ], "time" : "2019·06·12" }, { "data" : [ { "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190409/93405319378.png", "expireTime" : "2022-01-01", "createTime" : "2019·06·11", "goodsId" : 1080005013, "tag" : "翰威特平台", "userType" : "1", "pwd" : "NdmRcS08s9s", "goodsName" : "淘票票电子卡400元", "cardNo" : "tpp400201906180002" }, { "goodsImg" : "http://www.baidu.com:8081/appimages/activitypics/20190409/93405319378.png", "expireTime" : "2022-01-01", "createTime" : "2019·06·11", "goodsId" : 1080005013, "tag" : "翰威特平台", "userType" : "1", "pwd" : "NdmRcS08s9s", "goodsName" : "淘票票电子卡400元", "cardNo" : "tpp400201906180001" } ], "time" : "2019·06·11" } ], "tag" : "翰威特平台" } ]