From a3bfafde009c644c21ee8c9971b436f4cd7481f1 Mon Sep 17 00:00:00 2001
From: 刘帅 <rr.iii@qq.com>
Date: 星期日, 20 九月 2026 11:59:29 +0800
Subject: [PATCH] feat:手机号隐私问题
---
cloud-server-other/src/main/java/com/dsh/other/feignclient/account/AppUserClient.java | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/cloud-server-other/src/main/java/com/dsh/other/feignclient/account/AppUserClient.java b/cloud-server-other/src/main/java/com/dsh/other/feignclient/account/AppUserClient.java
index 06a0fd4..1e2b234 100644
--- a/cloud-server-other/src/main/java/com/dsh/other/feignclient/account/AppUserClient.java
+++ b/cloud-server-other/src/main/java/com/dsh/other/feignclient/account/AppUserClient.java
@@ -2,7 +2,11 @@
import com.dsh.other.feignclient.account.model.AppUser;
import org.springframework.cloud.openfeign.FeignClient;
+import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestHeader;
+
+import java.util.Map;
/**
* @author zhibing.pu
@@ -28,4 +32,9 @@
*/
@PostMapping("/base/appUser/updateAppUser")
void updateAppUser(AppUser appUser);
+
+ /** Gets only the original phone for the authenticated user's site booking. */
+ @PostMapping("/internal/sensitive/site-booking/app-user/{id}/phone")
+ Map<String, Object> siteBookingPhone(@PathVariable("id") Integer appUserId,
+ @RequestHeader("X-Internal-Sensitive-Access") String sensitiveAccess);
}
--
Gitblit v1.7.1