From ebf53a624416777600fdc9a880552bf3665d51a0 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期三, 01 一月 2020 17:10:47 +0800 Subject: [PATCH] 拼多多商品详情请求失败bug修改 --- fanli/src/main/java/com/yeshi/fanli/service/impl/pdd/PDDGoodsServiceImpl.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/pdd/PDDGoodsServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/pdd/PDDGoodsServiceImpl.java index 78fdc6f..fc54e7b 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/impl/pdd/PDDGoodsServiceImpl.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/pdd/PDDGoodsServiceImpl.java @@ -110,7 +110,7 @@ } @Override - @Transactional + @Transactional(rollbackFor=Exception.class) @Cacheable(value = "pddSpecialCache", key = "'specialSearch-'+#page+'-'+#cid") public List<PDDGoodsDetail> specialSearch(Integer page, Long cid) throws PDDOrderException { if (cid == null) { -- Gitblit v1.8.0