文案首行
This commit is contained in:
@@ -1229,12 +1229,11 @@ public class JDUtil {
|
|||||||
}
|
}
|
||||||
long totalCount = productInfo.getTotalCount();
|
long totalCount = productInfo.getTotalCount();
|
||||||
|
|
||||||
if (totalCount == 0) {
|
|
||||||
couponInfo.append(" ").append(url).append("\n");
|
couponInfo.append(" ").append(url).append("\n");
|
||||||
|
if (totalCount == 0) {
|
||||||
couponInfo.append("链接 类型:优惠券\n");
|
couponInfo.append("链接类型:优惠券\n\n");
|
||||||
} else {
|
} else {
|
||||||
couponInfo.append("链接 类型:商品\n");
|
couponInfo.append("链接类型:商品\n\n");
|
||||||
JSONObject jsonObject = JSONObject.parseObject(JSONObject.toJSONString(productInfo.getData()[0]));
|
JSONObject jsonObject = JSONObject.parseObject(JSONObject.toJSONString(productInfo.getData()[0]));
|
||||||
jsonObject.put("url", url);
|
jsonObject.put("url", url);
|
||||||
dataList.add(jsonObject.toString());
|
dataList.add(jsonObject.toString());
|
||||||
|
|||||||
Reference in New Issue
Block a user