From e62d2b8d59e0a287fbd76cce9ba050a1e6434a56 Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Wed, 28 May 2025 10:14:46 +0800
Subject: [PATCH] Merge branch 'refs/heads/master' into feature/v2.0.0/后台管理适配
---
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