From 711c995d7307b4a2d56e55095e3f81ffbdfc4d39 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期三, 05 六月 2024 11:08:10 +0800
Subject: [PATCH] 测试完成
---
src/api/smartor/patarchive.js | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/api/smartor/patarchive.js b/src/api/smartor/patarchive.js
index bebe5e8..7104b99 100644
--- a/src/api/smartor/patarchive.js
+++ b/src/api/smartor/patarchive.js
@@ -29,8 +29,8 @@
// 淇敼鎮h�呮。妗�
export function updatePatarchive(data) {
return request({
- url: '/smartor/patarchive',
- method: 'put',
+ url: '/smartor/patarchive/edit',
+ method: 'post',
data: data
})
}
@@ -38,7 +38,7 @@
// 鍒犻櫎鎮h�呮。妗�
export function delPatarchive(patid) {
return request({
- url: '/smartor/patarchive/' + patid,
- method: 'delete'
+ url: '/smartor/patarchive/remove/' + patid,
+ method: 'get'
})
}
--
Gitblit v1.9.3