From e292a4178b620efbb1f8bf5f393d6e89d17e0bdf Mon Sep 17 00:00:00 2001 From: zhaohy <1695786511@qq.com> Date: Tue, 20 Aug 2024 16:13:33 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E6=94=B9=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hx-ai-intelligent/src/api/planToAdd.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/hx-ai-intelligent/src/api/planToAdd.ts b/hx-ai-intelligent/src/api/planToAdd.ts index 4841c52..16acc10 100644 --- a/hx-ai-intelligent/src/api/planToAdd.ts +++ b/hx-ai-intelligent/src/api/planToAdd.ts @@ -1,5 +1,7 @@ +import { BASE_URL } from './index'; + export enum planToAddApi { - getActivatedPlanTree = '/carbon-smart/deviceCtrlPlan/getActivatedPlanTree', //计划树 - getActivatedPlanListByTree = '/carbon-smart/deviceCtrlPlan/getActivatedPlanListByTree', //计划列表 - updPlan = '/carbon-smart/deviceCtrlPlan/updateActivatedPlan', //修改计划 + getActivatedPlanTree = `${BASE_URL}/api/deviceCtrlPlan/getActivatedPlanTree`, //计划树 + getActivatedPlanListByTree = `${BASE_URL}/api/deviceCtrlPlan/getActivatedPlanListByTree`, //计划列表 + updPlan = `${BASE_URL}/api/deviceCtrlPlan/updateActivatedPlan`, //修改计划 }