From afbd8e340732c17a56693ad425dca59d8a0a8f37 Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期四, 30 四月 2026 14:04:05 +0800
Subject: [PATCH] 完善电话脱敏功能

---
 xp-robotaxi-operation-boot/src/main/java/com/xiaopeng/operation/controller/XpUserFeedbackController.java |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/xp-robotaxi-operation-boot/src/main/java/com/xiaopeng/operation/controller/XpUserFeedbackController.java b/xp-robotaxi-operation-boot/src/main/java/com/xiaopeng/operation/controller/XpUserFeedbackController.java
index 295e03e..8fe9309 100644
--- a/xp-robotaxi-operation-boot/src/main/java/com/xiaopeng/operation/controller/XpUserFeedbackController.java
+++ b/xp-robotaxi-operation-boot/src/main/java/com/xiaopeng/operation/controller/XpUserFeedbackController.java
@@ -1,6 +1,7 @@
 package com.xiaopeng.operation.controller;
 
 
+import com.xiaopeng.api.feignClient.account.SysGroupMenuClient;
 import com.xiaopeng.api.model.operation.XpUserFeedback;
 import com.xiaopeng.common.core.domain.R;
 import com.xiaopeng.common.core.web.page.PageInfo;
@@ -18,6 +19,7 @@
 import org.springframework.stereotype.Controller;
 import org.springframework.web.bind.annotation.RestController;
 
+import javax.annotation.Resource;
 import javax.servlet.http.HttpServletRequest;
 
 /**
@@ -35,6 +37,8 @@
 public class XpUserFeedbackController {
 
     private final IXpUserFeedbackService xpUserFeedbackService;
+    @Resource
+    private SysGroupMenuClient groupMenuClient;
 
     public XpUserFeedbackController(IXpUserFeedbackService xpUserFeedbackService) {
         this.xpUserFeedbackService = xpUserFeedbackService;
@@ -61,6 +65,8 @@
     @ApiOperation(value = "获取意见反馈分页列表", tags = {"管理后台-服务中心"})
     @PostMapping(value = "/api/v1/userFeedBack/pageList")
     public R<PageInfo<XpUserFeedbackVO>> getPageList(@RequestBody UserFeedBackQuery query) {
-        return R.ok(xpUserFeedbackService.getPageList(query));
+        PageInfo<XpUserFeedbackVO> pageList = xpUserFeedbackService.getPageList(query);
+        pageList.getRecords().forEach(s->s.setPhone(groupMenuClient.getPhoneDesensitization(s.getPhone()).getData()));
+        return R.ok();
     }
 }

--
Gitblit v1.7.1