admin
2019-07-17 0404963b52b72360a3a6660204f1e46e659ad12d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.yeshi.fanli.service.impl.pdd;
 
import java.util.List;
 
import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Service;
 
import com.yeshi.fanli.service.inter.pdd.PDDGoodsService;
import com.yeshi.fanli.util.pinduoduo.PinDuoDuoUtil;
 
@Service
public class PDDGoodsServiceImpl implements PDDGoodsService {
 
    @Cacheable(value = "pddCache", key = "'getDetailImageList'+#id")
    @Override
    public List<String> getDetailImageList(Long id) {
        return PinDuoDuoUtil.getDetailImages(id);
    }
 
}