From 77d130ca8b5925ee1772c24b61c13aeedbef69bc Mon Sep 17 00:00:00 2001
From: liujie <1793218484@qq.com>
Date: 星期四, 19 三月 2026 10:09:25 +0800
Subject: [PATCH] update

---
 xp-robotaxi-operation-boot/src/main/java/com/xiaopeng/operation/service/impl/XpUserFeedbackServiceImpl.java |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/xp-robotaxi-operation-boot/src/main/java/com/xiaopeng/operation/service/impl/XpUserFeedbackServiceImpl.java b/xp-robotaxi-operation-boot/src/main/java/com/xiaopeng/operation/service/impl/XpUserFeedbackServiceImpl.java
index 72a31cf..955ef90 100644
--- a/xp-robotaxi-operation-boot/src/main/java/com/xiaopeng/operation/service/impl/XpUserFeedbackServiceImpl.java
+++ b/xp-robotaxi-operation-boot/src/main/java/com/xiaopeng/operation/service/impl/XpUserFeedbackServiceImpl.java
@@ -84,19 +84,18 @@
             String feedbackPictures = xpUserFeedbackVO.getFeedbackPictures();
             if (StringUtils.isNotBlank(feedbackPictures)) {
                 JSONArray jsonArray = JSONArray.parseArray(feedbackPictures);
-                ArrayList<String> list = new ArrayList<>(jsonArray.size());
                 for (Object o : jsonArray) {
                     JSONObject jsonObject = JSONObject.parseObject(o.toString());
                     String downloadUrl = null;
                     try {
-                        // 2
+                        // 1
                         downloadUrl = aliOssService.getDownloadUrl(jsonObject.getString("id"), jsonObject.getString("name"), true);
                     } catch (UnsupportedEncodingException e) {
                         throw new RuntimeException(e);
                     }
-                    list.add(downloadUrl);
+                    jsonObject.put("url", downloadUrl);
                 }
-                xpUserFeedbackVO.setFeedbackPictures(String.join(",", list));
+                xpUserFeedbackVO.setFeedbackPictures(JSONArray.toJSONString(jsonArray));
             }
 
         }

--
Gitblit v1.7.1