summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/homes.service.ts
diff options
context:
space:
mode:
authorguochuyicmri <guochuyi@chinamobile.com>2019-05-08 10:55:37 +0800
committerguochuyicmri <guochuyi@chinamobile.com>2019-05-08 10:55:46 +0800
commitd55e3b044987f29f03de2816e2cd8015c54c9db3 (patch)
tree5fe2b92222483983d58b2edf892e2b60d5cbde3f /usecaseui-portal/src/app/homes.service.ts
parentbf240f4fad6e8bf032bd1f190b238682a9fb721a (diff)
UUI interface Multi-language development
Change-Id: I687222a6342e57bb81651ac210a8862f1980b051 Issue-ID: USECASEUI-211 Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/homes.service.ts')
-rw-r--r--usecaseui-portal/src/app/homes.service.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/usecaseui-portal/src/app/homes.service.ts b/usecaseui-portal/src/app/homes.service.ts
index 254408dd..8c0ab162 100644
--- a/usecaseui-portal/src/app/homes.service.ts
+++ b/usecaseui-portal/src/app/homes.service.ts
@@ -31,6 +31,7 @@ export class HomesService {
home_servicebarData:this.baseUrl + "",
sourceNames: this.baseUrl + "/alarm/getSourceNames",
listSortMasters:this.baseUrl+"/listSortMasters",
+ currentLanguage:this.baseUrl+"/auxapi/languageSetting/user/",
}
@@ -110,4 +111,9 @@ export class HomesService {
getListSortMasters(){
return this.http.get<any>(this.url.listSortMasters);
}
+ //2019.05.08 add
+ getCurrentLanguage(currentloginId){
+ let url=this.url.currentLanguage+currentloginId;
+ return this.http.get<any>(url);
+ }
}