diff options
author | cyuamber <xuranyjy@chinamobile.com> | 2020-09-08 09:50:48 +0800 |
---|---|---|
committer | cyuamber <xuranyjy@chinamobile.com> | 2020-09-08 10:03:42 +0800 |
commit | 43cb242d5a78e86786d4274fc539d81680fc15c4 (patch) | |
tree | e4635ef8ee1c7bc7102f6333e3ed2488b27b8cab /usecaseui-portal/src/app/app.module.ts | |
parent | 926b57b4d540c73f1930e6d2d2070e5ac6939e5d (diff) |
feat: Optimize the public request method of axios
Change-Id: Iab9e86c66628c9a0c39e0a9ed56607417805c9d4
Issue-ID: USECASEUI-444
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/app.module.ts')
-rw-r--r-- | usecaseui-portal/src/app/app.module.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usecaseui-portal/src/app/app.module.ts b/usecaseui-portal/src/app/app.module.ts index 6cb30500..7559862e 100644 --- a/usecaseui-portal/src/app/app.module.ts +++ b/usecaseui-portal/src/app/app.module.ts @@ -67,6 +67,8 @@ import { PieComponent } from './shared/components/charts/pie/pie.component'; import { PathLocationStrategy, LocationStrategy, HashLocationStrategy } from '@angular/common'; // common function util import { Util } from './shared/utils/utils'; +// common function http +import { Http } from './shared/utils/http'; // Custom service import { ServiceListService } from './core/services/serviceList.service'; import { HomesService } from './core/services/homes.service'; @@ -115,6 +117,7 @@ import { fakeBackendProvider } from '../../testBE/FakeBackendInterceptor'; { provide: LocationStrategy, useClass: HashLocationStrategy }, { provide: NZ_I18N, useValue: en_US }, Util, + Http, ServiceListService, HomesService, onboardService, |