From cfd68f73e8c9bb7b5a472c8182b5427c7e3d0747 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:12:57 +0800 Subject: [PATCH] 1 --- .../com/ruoyi/jarvis/service/impl/InstructionServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 5f26960..ad0c7a6 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 @@ -302,7 +302,7 @@ public class InstructionServiceImpl implements IInstructionService { if (matcher.find()) { address = new StringBuilder(matcher.group()); } - String phone = parts[3]; + String phone; //从phoneWithTF随机拿一个出来 phone = phoneWithTF.get(new Random().nextInt(phoneWithTF.size())); address.append(phone);