From 4bb3fb127b7b212afccf676fd288959c2b841650 Mon Sep 17 00:00:00 2001 From: cyuamber Date: Thu, 5 Sep 2019 16:11:18 +0800 Subject: feat:delete extra local json Change-Id: I52de5b3d77972a5a57daf89a56afb03327492810 Issue-ID: USECASEUI-307 Signed-off-by: cyuamber --- usecaseui-portal/src/app/core/services/homes.service.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'usecaseui-portal/src/app/core/services') diff --git a/usecaseui-portal/src/app/core/services/homes.service.ts b/usecaseui-portal/src/app/core/services/homes.service.ts index 321642db..98d60b52 100644 --- a/usecaseui-portal/src/app/core/services/homes.service.ts +++ b/usecaseui-portal/src/app/core/services/homes.service.ts @@ -62,13 +62,9 @@ export class HomesService { } getSourceNames() { - return this.http.get(this.baseUrl + '/alarm/getSourceNames/'); + return this.http.get(this.url.sourceNames); } - getstatuscount() { - let httpurl = this.baseUrl + '/alarm/statusCount'; - return this.http.get(httpurl); - } getAlarmDetailData(id) { let httpurl = this.baseUrl + '/alarm/getAlarmsHeaderDetail/' + id; return this.http.get(httpurl); -- cgit 1.2.3-korg