admin
2019-08-12 6d933cb7a7345b8fc9fd51be52b79ec4cd837a13
fanli/src/main/java/com/yeshi/fanli/util/SpringContext.java
@@ -666,8 +666,12 @@
                  while (its.hasNext()) {
                     String key = its.next();
                     try {
                        long startTime = System.currentTimeMillis();
                        TaoBaoGoodsBrief goods = TaoKeApiUtil.searchGoodsDetail(map.get(key));
                        // 更新一条数据需要的时间
                        taoBaoGoodsUpdateService.updateTaoBaoGoods(goods);
                        long time = System.currentTimeMillis() - startTime;
                        LogHelper.test("淘宝重要商品库更新时间:" + time);
                     } catch (Exception e) {
                        try {
                           LogHelper.errorDetailInfo(e);