| | |
| | | import com.yeshi.fanli.entity.jd.JDGoods;
|
| | | import com.yeshi.fanli.entity.jd.JDOrder;
|
| | | import com.yeshi.fanli.entity.jd.JDOrderItem;
|
| | | import com.yeshi.fanli.log.LogHelper;
|
| | | import com.yeshi.fanli.tag.PageEntity;
|
| | | import com.yeshi.fanli.util.MoneyBigDecimalUtil;
|
| | | import com.yeshi.fanli.util.StringUtil;
|
| | |
| | | */
|
| | | public static String convertShortLink(String materialId, String couponUrl, String positionId, String ext1) {
|
| | | String url = convertLink(materialId, couponUrl, positionId, ext1);
|
| | | if (!StringUtil.isNullOrEmpty(url)) {
|
| | | url = HttpUtil.getShortLink(url);
|
| | | }
|
| | | //暂时注释
|
| | | // if (!StringUtil.isNullOrEmpty(url)) {
|
| | | // url = HttpUtil.getShortLink(url);
|
| | | // }
|
| | | return url;
|
| | | }
|
| | |
|
| | |
| | | jsonDTO.put("goodsReq", json);
|
| | |
|
| | | String result = baseRequest2("jd.union.open.goods.jingfen.query", null, jsonDTO);
|
| | | LogHelper.test(result);
|
| | | System.out.println(result);
|
| | | JSONObject resultJson = JSONObject.fromObject(result);
|
| | | resultJson = resultJson.optJSONObject("jd_union_open_goods_jingfen_query_response");
|