diff options
author | guochuyicmri <guochuyi@chinamobile.com> | 2019-05-08 10:55:37 +0800 |
---|---|---|
committer | guochuyicmri <guochuyi@chinamobile.com> | 2019-05-08 10:55:46 +0800 |
commit | d55e3b044987f29f03de2816e2cd8015c54c9db3 (patch) | |
tree | 5fe2b92222483983d58b2edf892e2b60d5cbde3f /usecaseui-portal/src/app/homes.service.ts | |
parent | bf240f4fad6e8bf032bd1f190b238682a9fb721a (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.ts | 6 |
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); + } } |