From 5e3dec02d94aeb5c021569b7dfdf894e6641ad82 Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期二, 19 八月 2025 11:27:44 +0800
Subject: [PATCH] 合并代码

---
 user/guns-admin/src/main/java/com/supersavedriving/user/modular/system/util/AppUserUtil.java |   20 +++++++++++++++++++-
 1 files changed, 19 insertions(+), 1 deletions(-)

diff --git a/user/guns-admin/src/main/java/com/supersavedriving/user/modular/system/util/AppUserUtil.java b/user/guns-admin/src/main/java/com/supersavedriving/user/modular/system/util/AppUserUtil.java
index 60d7cf2..7362a72 100644
--- a/user/guns-admin/src/main/java/com/supersavedriving/user/modular/system/util/AppUserUtil.java
+++ b/user/guns-admin/src/main/java/com/supersavedriving/user/modular/system/util/AppUserUtil.java
@@ -13,7 +13,7 @@
 @Slf4j
 public class AppUserUtil {
 	
-	private static String url = "http://127.0.0.1:8080/user-server";
+	private static String url = "http://192.168.110.106:5000/user-server";
 	
 	
 	/**
@@ -72,4 +72,22 @@
 		}
 		return execute.body();
 	}
+	
+	
+	
+	/**
+	 * 通过
+	 * @param id
+	 * @return
+	 * @throws Exception
+	 */
+	public static String getUserPhone(Integer id) throws Exception{
+		HttpRequest post = HttpUtil.createGet(url + "/base/user/getUserPhone/" + id);
+		HttpResponse execute = post.execute();
+		if(200 != execute.getStatus()){
+			log.error("打车系统-查询用户失败:{}", execute.body());
+			return null;
+		}
+		return execute.body();
+	}
 }

--
Gitblit v1.7.1