| | |
| | | goods.getUserType());
|
| | | if (result != null && result.getTaoBaoGoodsBriefs() != null)
|
| | | for (TaoBaoGoodsBrief g : result.getTaoBaoGoodsBriefs()) {
|
| | | System.out.println(goods.getAuctionId() + ":" + g.getAuctionId());
|
| | | if (goods.getAuctionId().longValue() == g.getAuctionId()) {
|
| | | g.setId(goods.getAuctionId());
|
| | | // 判断是否有优惠券
|
| | |
| | | Map<String, String> map = new HashMap<>();
|
| | | map.put("method", "taobao.ju.items.search");
|
| | | map.put("current_page", 1 + "");
|
| | | map.put("page_size", 100+"");
|
| | | map.put("page_size", 100 + "");
|
| | | map.put("pid", "mm_124933865_43788020_381938426");
|
| | | |
| | |
|
| | | TaoKeAppInfo app = new TaoKeAppInfo();
|
| | | app.setAppKey("24838852");
|
| | | app.setAppSecret("bc8265e2bf8d8115329d652f9d3d4cd8");
|
| | | |
| | |
|
| | | try {
|
| | | JSONObject json = TaoKeBaseUtil.baseRequest(map, app);
|
| | | System.out.println(json);
|