From cb2a01ee7dea28a2661720060b03c41dc372acb5 Mon Sep 17 00:00:00 2001
From: yaowanxin <3588231647@qq.com>
Date: 星期五, 01 八月 2025 11:53:16 +0800
Subject: [PATCH] 完善串口处理数据,数据选择
---
src/api/system/customer.js | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/api/system/customer.js b/src/api/system/customer.js
index a218cfb..5b61333 100644
--- a/src/api/system/customer.js
+++ b/src/api/system/customer.js
@@ -3,7 +3,7 @@
// 鏌ヨ瀹㈡埛鍒楄〃
export function selectCustomPageList(query) {
return request({
- url: '/system/user/selectCustomPageList',
+ url: '/system/custom/selectCustomPageList',
method: 'get',
params: query
})
@@ -11,24 +11,24 @@
// 鏂板瀹㈡埛
export function addCustom(query) {
return request({
- url: '/system/user/addCustom',
+ url: '/system/custom/addCustom',
method: 'post',
- params: query
+ data: query
})
}
// 淇敼瀹㈡埛
export function upCustom(query) {
return request({
- url: '/system/user/upCustom',
+ url: '/system/custom/upCustom',
method: 'post',
- params: query
+ data: query
})
}
// 鍒犻櫎瀹㈡埛
export function delCustomById(query) {
return request({
- url: '/system/user/delCustomById',
- method: 'post',
+ url: '/system/custom/delCustomById',
+ method: 'delete',
params: query
})
}
--
Gitblit v1.9.3