From 240e26461ff0fc0df7bf8709cbf64d792ce1da35 Mon Sep 17 00:00:00 2001
From: rain <1679827795@qq.com>
Date: Wed, 23 Apr 2025 18:03:20 +0800
Subject: [PATCH] Merge branch 'master' of http://139.196.74.78:10010/r/drone/drone-web-manage
---
src/api/device-setting/index.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/api/device-setting/index.js b/src/api/device-setting/index.js
index cbd315d..b7a1f3e 100644
--- a/src/api/device-setting/index.js
+++ b/src/api/device-setting/index.js
@@ -27,12 +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