| | |
| | | |
| | | @Service |
| | | public class ShopService { |
| | | final static String HOST = "http://buwantb.yeshitv.com:8080/TaoBaoKe/";// 10.251.33.117 |
| | | final static String HOST = "http://111.231.250.166:8087//TaoBaoKe/";// 10.251.33.117 |
| | | |
| | | // private static final String HOST ="http://192.168.1.200:8088/TaoBaoKe/"; |
| | | @Resource |
| | |
| | | @Resource |
| | | private ShopItemCommentDao shopItemCommentDao; |
| | | |
| | | @Cacheable(value = "shopCache", key = "'getItemList-'+#page") |
| | | private String getItemList(int page) { |
| | | return HttpUtil.get(HOST + "api/buwan/itemlist?page=" + page, "ISO-8859-1"); |
| | | } |