| | |
| | | Long[] ids = new Long[goodsIds.size()];
|
| | | goodsIds.toArray(ids);
|
| | | filter.setGoodsIdList(ids);
|
| | | PDDGoodsResult result = searchGoods(filter,Constant.PDD_SEARCH_CUSTOMER_PARAMS);
|
| | | PDDGoodsResult result = searchGoods(filter, Constant.PDD_SEARCH_CUSTOMER_PARAMS);
|
| | | if (result != null)
|
| | | return result.getGoodsList();
|
| | | return null;
|
| | |
| | | return null;
|
| | | }
|
| | |
|
| | |
|
| | | public static PDDPromotionUrl convertResourceUrl(String pid) {
|
| | | Map<String, String> map = new HashMap<>();
|
| | | map.put("type", "pdd.ddk.resource.url.gen");
|
| | | map.put("pid", pid);
|
| | | map.put("resource_type", "39998");
|
| | | map.put("url", "https://mobile.yangkeduo.com/attendance.html?_pdd_fs=1&_pdd_tc=ffffff&_pdd_sbs=1&type=1&id=155075");
|
| | | String result = baseRequest(map);
|
| | | System.out.println(result);
|
| | | return null;
|
| | | }
|
| | |
|
| | | /**
|
| | | * 微信小程序转链 @Title: convertWXMP @Description: @param goodsId @param
|
| | | * pid @param customParams @return PDDPromotionUrl 返回类型 @throws
|