Compare commits

..

3 Commits

Author SHA1 Message Date
雷欧(林平凡)
949bc163af 价保 2025-05-30 10:21:52 +08:00
雷欧(林平凡)
8bf257ffa3 Merge remote-tracking branch '群晖/master' 2025-05-30 10:06:46 +08:00
雷欧(林平凡)
3fdb909d09 价保 2025-05-30 10:06:40 +08:00

View File

@@ -1271,10 +1271,10 @@ public class JDUtil {
} }
long totalCount = productInfo.getTotalCount(); long totalCount = productInfo.getTotalCount();
couponInfo.append(" ").append(url).append("\n");
if (totalCount == 0) { if (totalCount == 0) {
couponInfo.append("链接类型:优惠券\n\n"); //couponInfo.append("链接类型:优惠券\n\n");
} else { } else {
couponInfo.append(url).append("\n");
urlList.add(url); urlList.add(url);
couponInfo.append("链接类型:商品\n\n"); couponInfo.append("链接类型:商品\n\n");
JSONObject jsonObject = JSONObject.parseObject(JSONObject.toJSONString(productInfo.getData()[0])); JSONObject jsonObject = JSONObject.parseObject(JSONObject.toJSONString(productInfo.getData()[0]));
@@ -1657,7 +1657,7 @@ public class JDUtil {
//String value = entry.getValue(); //String value = entry.getValue();
productTypeStr.append(k).append("\n"); productTypeStr.append(k).append("\n");
} }
wxUtil.sendTextMessage(fromWxid, "请选择要生成的评论类型:\n " + productTypeStr, 1, fromWxid, true); wxUtil.sendTextMessage(fromWxid, "请选择要生成的评论类型\n(烟灶套餐 晒图 单烟机型号,新型号联系管理员添加(970用C61的图)\n\n" + productTypeStr, 1, fromWxid, true);
logger.info("进入生成评论流程 - 用户: {}", fromWxid); logger.info("进入生成评论流程 - 用户: {}", fromWxid);
} catch (Exception e) { } catch (Exception e) {