| | |
| | | if ("1".equalsIgnoreCase(cid)) {// 大淘客数据
|
| | | List<Integer> cidList = new ArrayList<>();
|
| | | cidList.add(2);// 母婴
|
| | | result = DaTaoKeApiUtil.search("", null, null, null, page, pageSize, DaTaoKeApiUtil.SORT_DEFAULT);
|
| | | result = DaTaoKeApiUtil.search("", cidList, null, null, page, pageSize, DaTaoKeApiUtil.SORT_DEFAULT);
|
| | | List<TaoBaoGoodsBrief> goodsList = new ArrayList<>();
|
| | | long count = 0;
|
| | | if (result != null) {
|
| | |
| | | cidList.add(7);
|
| | | cidList.add(13);
|
| | | int sort = getCommonSort(cid);
|
| | | result = DaTaoKeApiUtil.search("", null, null, null, page, pageSize, sort);
|
| | | result = DaTaoKeApiUtil.search("", cidList, null, null, page, pageSize, sort);
|
| | | DaTaoKeGoodsResult result1 = DaTaoKeApiUtil.search("运动 男", cidList, null, null, page, pageSize, sort);
|
| | | List<TaoBaoGoodsBrief> goodsList = new ArrayList<>();
|
| | | long count = 0;
|
| | |
| | | GoodsSubClassLabelMap map = new GoodsSubClassLabelMap();
|
| | | map.setGoodsSubClass(record);
|
| | | map.setLabel(new GoodsSubClassLabel(labelId));
|
| | | try {
|
| | | goodsSubClassLabelService.addSubClassLabelMap(map);
|
| | | } catch (Exception e) {
|
| | | }
|
| | | }
|
| | |
|
| | | goodsSubClassMapper.updateByPrimaryKey(record);
|
| | |
| | | log4j.appender.requestTimeLog.layout=org.apache.log4j.PatternLayout
|
| | | log4j.appender.requestTimeLog.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSS} [%c]-[%p] %m%n
|
| | |
|
| | | log4j.appender.mongodb=org.apache.log4j.ConsoleAppender
|
| | | log4j.appender.mongodb.Target=System.out
|
| | | log4j.appender.mongodb.Threshold=DEBUG
|
| | | log4j.appender.mongodb.ImmediateFlush=true
|
| | | log4j.appender.mongodb.layout=org.apache.log4j.PatternLayout
|
| | | log4j.appender.mongodb.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSS} %5p %X{RequestId} - %m%n
|
| | |
|
| | | log4j.logger.org.springframework.data.mongodb.core= DEBUG
|