From 01a4f6341f6fe4806f45cf7a4c7b3bc450a6a0e0 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期四, 07 五月 2026 16:08:53 +0800
Subject: [PATCH] feat(AIChatSidebar): 添加文件上传预览和消息中文件显示功能

---
 src/api/productionPlan/productionPlan.js |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/api/productionPlan/productionPlan.js b/src/api/productionPlan/productionPlan.js
index 70139e7..5bcff27 100644
--- a/src/api/productionPlan/productionPlan.js
+++ b/src/api/productionPlan/productionPlan.js
@@ -39,7 +39,7 @@
 // 鐢熶骇璁″垝-鏂板淇敼
 export function productionPlanAdd(query) {
   return request({
-    url: "/productionPlan/updateProductionPlan",
+    url: "/productionPlan/addProductionPlan",
     method: "post",
     data: query,
   });
@@ -47,7 +47,7 @@
 export function productionPlanUpdate(query) {
   return request({
     url: "/productionPlan/updateProductionPlan",
-    method: "post",
+    method: "put",
     data: query,
   });
 }
@@ -55,7 +55,7 @@
 // 鐢熶骇璁″垝-鍒犻櫎
 export function productionPlanDelete(data) {
   return request({
-    url: "/productionPlan",
+    url: "/productionPlan/deleteProductionPlan",
     method: "delete",
     data,
   });
@@ -63,7 +63,7 @@
 // 鍚堝苟涓嬪彂
 export function productionPlanCombine(query) {
   return request({
-    url: "/productionPlan/updateProductionPlan",
+    url: "/productionPlan/combine",
     method: "post",
     data: query,
   });

--
Gitblit v1.9.3