From e6472c3f040ee6a9701121f1eaab35ea8a026f12 Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Mon, 28 Apr 2025 18:55:14 +0800
Subject: [PATCH] 样式调整

---
 src/api/device-setting/index.js |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/api/device-setting/index.js b/src/api/device-setting/index.js
index 07f2d84..b7a1f3e 100644
--- a/src/api/device-setting/index.js
+++ b/src/api/device-setting/index.js
@@ -27,11 +27,12 @@
  * @param {*} body 
  * @returns 
  */
-export const setThermalCurrentPaletteStyle = (deviceSn, workspaceId, body) => {
+export const setThermalCurrentPaletteStyle = (deviceSn, workspaceId, param) => {
   return request({
     // /manage/api/v1/devices/selectDevicePage
+    // url: `/localApi/manage/api/v1/devices/${workspaceId}/devices/${deviceSn}/setThermalCurrentPaletteStyle`,
     url: `/drone-device-core/manage/api/v1/devices/${workspaceId}/devices/${deviceSn}/setThermalCurrentPaletteStyle`,
     method: 'put',
-    body,
+    data: param,
   })
 }

--
Gitblit v1.9.3