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
|
||||
*/
|
||||
StoreDevtoolsModule.instrument({
|
||||
name: 'NgRx Book Store App'
|
||||
name: 'UCAP Store App'
|
||||
|
||||
// In a production build you would want to disable the Store Devtools
|
||||
// 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_LOGIN_RES_INFO } from '@app/types/login-res-info.type';
|
||||
|
||||
import { environment } from '../../environments/environment';
|
||||
|
||||
@Injectable()
|
||||
export class AppMessengerResolver implements Resolve<void> {
|
||||
constructor(
|
||||
|
@ -115,8 +117,8 @@ export class AppMessengerResolver implements Resolve<void> {
|
|||
hostName: '',
|
||||
ssoMode: SSOMode.AUTH,
|
||||
userSpecificInformation: 'PRO_000482',
|
||||
productId: 'PRO_000482',
|
||||
productName: 'EZMessenger'
|
||||
productId: environment.productConfig.productId,
|
||||
productName: environment.productConfig.productName
|
||||
});
|
||||
}),
|
||||
switchMap(res => {
|
||||
|
@ -141,7 +143,7 @@ export class AppMessengerResolver implements Resolve<void> {
|
|||
|
||||
this.store.dispatch(
|
||||
CompanyStore.companyList({
|
||||
companyGroupCode: 'LG'
|
||||
companyGroupCode: environment.companyConfig.companyGroupCode
|
||||
})
|
||||
);
|
||||
}),
|
||||
|
|
|
@ -13,6 +13,15 @@ export const environment: Environment = {
|
|||
production: false,
|
||||
title: `[개발] UCapMessenger`,
|
||||
|
||||
companyConfig: {
|
||||
companyGroupCode: 'LG'
|
||||
},
|
||||
|
||||
productConfig: {
|
||||
productId: 'PRO_000482',
|
||||
productName: 'EZMessenger'
|
||||
},
|
||||
|
||||
commonApiModuleConfig: {
|
||||
hostConfig: {
|
||||
protocol: 'http',
|
||||
|
|
|
@ -13,6 +13,15 @@ export const environment: Environment = {
|
|||
production: true,
|
||||
title: `[개발] UCapMessenger`,
|
||||
|
||||
companyConfig: {
|
||||
companyGroupCode: 'LG'
|
||||
},
|
||||
|
||||
productConfig: {
|
||||
productId: 'PRO_000482',
|
||||
productName: 'EZMessenger'
|
||||
},
|
||||
|
||||
commonApiModuleConfig: {
|
||||
hostConfig: {
|
||||
protocol: 'http',
|
||||
|
|
|
@ -31,6 +31,15 @@ export interface Environment {
|
|||
runtime?: UCapRuntime;
|
||||
title: string;
|
||||
|
||||
companyConfig: {
|
||||
companyGroupCode: string;
|
||||
};
|
||||
|
||||
productConfig: {
|
||||
productId: string;
|
||||
productName: string;
|
||||
};
|
||||
|
||||
commonApiModuleConfig: CommonApiModuleConfig;
|
||||
publicApiModuleConfig: PublicApiModuleConfig;
|
||||
externalApiModuleConfig: ExternalApiModuleConfig;
|
||||
|
|
Loading…
Reference in New Issue
Block a user