From 66a0beea3391374e9a564fccd6a8fec7ff721679 Mon Sep 17 00:00:00 2001 From: ljwwd2 <1205484020@qq.com> Date: Sun, 11 May 2025 03:25:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E7=AB=AF-=E6=A0=B9=E6=8D=AEagentId?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E6=99=BA=E8=83=BD=E4=BD=93=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main/manager-web/src/apis/module/agent.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main/manager-web/src/apis/module/agent.js b/main/manager-web/src/apis/module/agent.js index 8aa89072..756e1bef 100644 --- a/main/manager-web/src/apis/module/agent.js +++ b/main/manager-web/src/apis/module/agent.js @@ -50,9 +50,9 @@ export default { }).send(); }, // 获取智能体配置 - getDeviceConfig(deviceId, callback) { + getDeviceConfig(agentId, callback) { RequestService.sendRequest() - .url(`${getServiceUrl()}/agent/${deviceId}`) + .url(`${getServiceUrl()}/agent/${agentId}`) .method('GET') .success((res) => { RequestService.clearRequestTime(); @@ -61,7 +61,7 @@ export default { .fail((err) => { console.error('获取配置失败:', err); RequestService.reAjaxFun(() => { - this.getDeviceConfig(deviceId, callback); + this.getDeviceConfig(agentId, callback); }); }).send(); },