From ff6d23c5d61d1c6bee47e5863b57a915d98f7be1 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 18 四月 2025 09:47:06 +0800
Subject: [PATCH] 1.设备使用授权页面开发、联调

---
 src/api/system/customer.js |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/src/api/system/customer.js b/src/api/system/customer.js
index f64f3e2..5b61333 100644
--- a/src/api/system/customer.js
+++ b/src/api/system/customer.js
@@ -1,10 +1,9 @@
 import request from '@/utils/request'
-import { parseStrEmpty } from "@/utils/ruoyi";
 
 // 鏌ヨ瀹㈡埛鍒楄〃
 export function selectCustomPageList(query) {
   return request({
-    url: '/system/user/selectCustomPageList',
+    url: '/system/custom/selectCustomPageList',
     method: 'get',
     params: query
   })
@@ -12,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