| | |
| | | * @param goodsBrief |
| | | * @return |
| | | */ |
| | | public static BigDecimal getQuanPrice(JDGoods jdGoods) { |
| | | public static BigDecimal getCouponPrice(JDGoods jdGoods) { |
| | | BigDecimal price = null; |
| | | JDPingouInfo pinGouInfo = jdGoods.getPinGouInfo(); |
| | | if (pinGouInfo == null) { |
| | |
| | | return list; |
| | | } |
| | | |
| | | public static boolean isJDLink(String url) { |
| | | return url.startsWith("https://item.m.jd.com/product/") || url.startsWith("http://item.m.jd.com/product/") |
| | | || url.startsWith("https://item.jd.com/") || url.startsWith("http://item.jd.com/")||url.startsWith("https://u.jd.com/"); |
| | | } |
| | | |
| | | /** |
| | | * 根据链接提取商品ID |
| | | * |