From 2b2a15d8fb1b7fa70f40474270cc196641ba295f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=B7=E6=AC=A7=EF=BC=88=E6=9E=97=E5=B9=B3=E5=87=A1?= =?UTF-8?q?=EF=BC=89?= Date: Thu, 25 Sep 2025 16:07:48 +0800 Subject: [PATCH] 1 --- .../jarvis/service/impl/InstructionServiceImpl.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/ruoyi-system/src/main/java/com/ruoyi/jarvis/service/impl/InstructionServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/jarvis/service/impl/InstructionServiceImpl.java index 4cebe8b..c4798c2 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/jarvis/service/impl/InstructionServiceImpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/jarvis/service/impl/InstructionServiceImpl.java @@ -270,6 +270,18 @@ public class InstructionServiceImpl implements IInstructionService { productWithJF.put("ZQD180F-EB200", "https://u.jd.com/SDBkTJg"); productWithJF.put("CXW-298-IQ92DPRO", "https://u.jd.com/SrWlqkb"); } + private static final List phoneWithTF = new ArrayList<>(); + static { + /* + 13243039070 + 15639125541 + 18539187615 + 15738558087 */ + phoneWithTF.add("13243039070"); + phoneWithTF.add("15639125541"); + phoneWithTF.add("18539187615"); + phoneWithTF.add("15738558087"); + } private String handleTF(String input) { String body = input.replaceFirst("^TF\\s*", ""); @@ -291,6 +303,7 @@ public class InstructionServiceImpl implements IInstructionService { address = new StringBuilder(matcher.group()); } for (int i = 3; i < parts.length; i++) { + System.out.println(parts[i]); address.append(parts[i]); } String jf = productWithJF.get(modelNumber);