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);