From 10f1df2abb4f9d7de6e8031c2729684faad24734 Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期三, 12 八月 2026 09:30:52 +0800
Subject: [PATCH] Merge branch 'srm-master' of http://116.62.18.175:6699/r/~yxh/opo-web into srm-master
---
src/api/project/distributedetail.js | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/api/project/distributedetail.js b/src/api/project/distributedetail.js
index d0486c3..3c3cb69 100644
--- a/src/api/project/distributedetail.js
+++ b/src/api/project/distributedetail.js
@@ -20,7 +20,7 @@
// 鏂板涓撳璐圭敤鍒嗗彂姹囨�绘槑缁�
export function addDistributedetail(data) {
return request({
- url: '/project/distributedetail',
+ url: '/project/distributedetail/add',
method: 'post',
data: data
})
@@ -29,8 +29,8 @@
// 淇敼涓撳璐圭敤鍒嗗彂姹囨�绘槑缁�
export function updateDistributedetail(data) {
return request({
- url: '/project/distributedetail',
- method: 'put',
+ url: '/project/distributedetail/edit',
+ method: 'post',
data: data
})
}
@@ -38,8 +38,8 @@
// 鍒犻櫎涓撳璐圭敤鍒嗗彂姹囨�绘槑缁�
export function delDistributedetail(id) {
return request({
- url: '/project/distributedetail/' + id,
- method: 'delete'
+ url: '/project/distributedetail/remove/' + id,
+ method: 'get'
})
}
--
Gitblit v1.9.3