summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/core/services
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2019-09-05 16:11:18 +0800
committercyuamber <xuranyjy@chinamobile.com>2019-09-05 16:11:25 +0800
commit4bb3fb127b7b212afccf676fd288959c2b841650 (patch)
tree600101e772d6cfea80ff35366d2baffb579a9df2 /usecaseui-portal/src/app/core/services
parent0b7a31d8663a5124da9a443f1c0147d5bd68bf27 (diff)
feat:delete extra local json
Change-Id: I52de5b3d77972a5a57daf89a56afb03327492810 Issue-ID: USECASEUI-307 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/core/services')
-rw-r--r--usecaseui-portal/src/app/core/services/homes.service.ts6
1 files changed, 1 insertions, 5 deletions
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<any>(this.baseUrl + '/alarm/getSourceNames/');
+ return this.http.get<any>(this.url.sourceNames);
}
- getstatuscount() {
- let httpurl = this.baseUrl + '/alarm/statusCount';
- return this.http.get<any>(httpurl);
- }
getAlarmDetailData(id) {
let httpurl = this.baseUrl + '/alarm/getAlarmsHeaderDetail/' + id;
return this.http.get<any>(httpurl);