修改部署端口

Change-Id: I9ae4984327894aa0c38ba6ea31e74927f571d518
diff --git a/Merge/front/src/api/posts_wzy.js b/Merge/front/src/api/posts_wzy.js
index 4992f95..83e514f 100644
--- a/Merge/front/src/api/posts_wzy.js
+++ b/Merge/front/src/api/posts_wzy.js
@@ -1,5 +1,5 @@
 // src/api/posts.js
-const BASE = 'http://10.126.59.25:5714'  // 如果有代理可以留空,否则填完整域名,如 'http://localhost:3000'
+const BASE = 'http://192.168.5.235:5714'  // 如果有代理可以留空,否则填完整域名,如 'http://localhost:3000'
 
 /**
  * 获取帖子列表
diff --git a/Merge/front/src/api/search_jwlll.js b/Merge/front/src/api/search_jwlll.js
index 5ab7eb1..7568f1d 100644
--- a/Merge/front/src/api/search_jwlll.js
+++ b/Merge/front/src/api/search_jwlll.js
@@ -1,7 +1,7 @@
 // 搜索推荐算法相关的API接口
 // 对应 JWLLL 后端服务
 
-const BASE_URL = 'http://127.0.0.1:5000'
+const BASE_URL = 'http://10.126.59.25:5717'
 
 // 通用请求函数
 const request = async (url, options = {}) => {
diff --git a/Merge/front/src/components/CreatePost.jsx b/Merge/front/src/components/CreatePost.jsx
index 2b365db..84f3fec 100644
--- a/Merge/front/src/components/CreatePost.jsx
+++ b/Merge/front/src/components/CreatePost.jsx
@@ -15,6 +15,7 @@
   const isEdit = Boolean(postId)
   // 步骤:新帖先上传,编辑则直接到 detail
   const [step, setStep] = useState(isEdit ? 'detail' : 'upload')
+  const [files, setFiles] = useState([])
   const [mediaUrls, setMediaUrls] = useState([])
 
   // 表单字段