consts are added
This commit is contained in:
parent
643fe7a7c1
commit
0a9e3bc84c
|
@ -44,7 +44,7 @@ import { ROOT_REDUCERS, metaReducers, effects } from './store';
|
||||||
* See: https://github.com/zalmoxisus/redux-devtools-extension
|
* See: https://github.com/zalmoxisus/redux-devtools-extension
|
||||||
*/
|
*/
|
||||||
StoreDevtoolsModule.instrument({
|
StoreDevtoolsModule.instrument({
|
||||||
name: 'NgRx Book Store App'
|
name: 'UCAP Store App'
|
||||||
|
|
||||||
// In a production build you would want to disable the Store Devtools
|
// In a production build you would want to disable the Store Devtools
|
||||||
// logOnly: environment.production,
|
// logOnly: environment.production,
|
||||||
|
|
|
@ -50,6 +50,8 @@ import * as SyncStore from '@app/store/messenger/sync';
|
||||||
import { KEY_VER_INFO } from '@app/types/ver-info.type';
|
import { KEY_VER_INFO } from '@app/types/ver-info.type';
|
||||||
import { KEY_LOGIN_RES_INFO } from '@app/types/login-res-info.type';
|
import { KEY_LOGIN_RES_INFO } from '@app/types/login-res-info.type';
|
||||||
|
|
||||||
|
import { environment } from '../../environments/environment';
|
||||||
|
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class AppMessengerResolver implements Resolve<void> {
|
export class AppMessengerResolver implements Resolve<void> {
|
||||||
constructor(
|
constructor(
|
||||||
|
@ -115,8 +117,8 @@ export class AppMessengerResolver implements Resolve<void> {
|
||||||
hostName: '',
|
hostName: '',
|
||||||
ssoMode: SSOMode.AUTH,
|
ssoMode: SSOMode.AUTH,
|
||||||
userSpecificInformation: 'PRO_000482',
|
userSpecificInformation: 'PRO_000482',
|
||||||
productId: 'PRO_000482',
|
productId: environment.productConfig.productId,
|
||||||
productName: 'EZMessenger'
|
productName: environment.productConfig.productName
|
||||||
});
|
});
|
||||||
}),
|
}),
|
||||||
switchMap(res => {
|
switchMap(res => {
|
||||||
|
@ -141,7 +143,7 @@ export class AppMessengerResolver implements Resolve<void> {
|
||||||
|
|
||||||
this.store.dispatch(
|
this.store.dispatch(
|
||||||
CompanyStore.companyList({
|
CompanyStore.companyList({
|
||||||
companyGroupCode: 'LG'
|
companyGroupCode: environment.companyConfig.companyGroupCode
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
}),
|
}),
|
||||||
|
|
|
@ -13,6 +13,15 @@ export const environment: Environment = {
|
||||||
production: false,
|
production: false,
|
||||||
title: `[개발] UCapMessenger`,
|
title: `[개발] UCapMessenger`,
|
||||||
|
|
||||||
|
companyConfig: {
|
||||||
|
companyGroupCode: 'LG'
|
||||||
|
},
|
||||||
|
|
||||||
|
productConfig: {
|
||||||
|
productId: 'PRO_000482',
|
||||||
|
productName: 'EZMessenger'
|
||||||
|
},
|
||||||
|
|
||||||
commonApiModuleConfig: {
|
commonApiModuleConfig: {
|
||||||
hostConfig: {
|
hostConfig: {
|
||||||
protocol: 'http',
|
protocol: 'http',
|
||||||
|
|
|
@ -13,6 +13,15 @@ export const environment: Environment = {
|
||||||
production: true,
|
production: true,
|
||||||
title: `[개발] UCapMessenger`,
|
title: `[개발] UCapMessenger`,
|
||||||
|
|
||||||
|
companyConfig: {
|
||||||
|
companyGroupCode: 'LG'
|
||||||
|
},
|
||||||
|
|
||||||
|
productConfig: {
|
||||||
|
productId: 'PRO_000482',
|
||||||
|
productName: 'EZMessenger'
|
||||||
|
},
|
||||||
|
|
||||||
commonApiModuleConfig: {
|
commonApiModuleConfig: {
|
||||||
hostConfig: {
|
hostConfig: {
|
||||||
protocol: 'http',
|
protocol: 'http',
|
||||||
|
|
|
@ -31,6 +31,15 @@ export interface Environment {
|
||||||
runtime?: UCapRuntime;
|
runtime?: UCapRuntime;
|
||||||
title: string;
|
title: string;
|
||||||
|
|
||||||
|
companyConfig: {
|
||||||
|
companyGroupCode: string;
|
||||||
|
};
|
||||||
|
|
||||||
|
productConfig: {
|
||||||
|
productId: string;
|
||||||
|
productName: string;
|
||||||
|
};
|
||||||
|
|
||||||
commonApiModuleConfig: CommonApiModuleConfig;
|
commonApiModuleConfig: CommonApiModuleConfig;
|
||||||
publicApiModuleConfig: PublicApiModuleConfig;
|
publicApiModuleConfig: PublicApiModuleConfig;
|
||||||
externalApiModuleConfig: ExternalApiModuleConfig;
|
externalApiModuleConfig: ExternalApiModuleConfig;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user