|
@ -28,7 +28,7 @@ const flags = args.parse(process.argv); |
|
|
|
|
|
|
|
|
const API_URL = process.env.API_URL || flags.apiUrl; |
|
|
const API_URL = process.env.API_URL || flags.apiUrl; |
|
|
const API_DC_URL = process.env.API_DC_URL || flags.apiHrUrl; |
|
|
const API_DC_URL = process.env.API_DC_URL || flags.apiHrUrl; |
|
|
const FS_PEP_DOMAIN = process.FS_REPORT_DOMAIN || flags.domain; |
|
|
const FS_PEP_DOMAIN = process.env.FS_PEP_DOMAIN || flags.domain; |
|
|
const WEB_PEP_URL = process.env.WEB_PEP_URL || flags.webPepUrl; |
|
|
const WEB_PEP_URL = process.env.WEB_PEP_URL || flags.webPepUrl; |
|
|
|
|
|
|
|
|
// 七牛
|
|
|
// 七牛
|
|
@ -40,15 +40,6 @@ const ANXINCLOUD_QINIU_DOMAIN_QNDMN_RESOURCE = process.env.ANXINCLOUD_QINIU_DOMA |
|
|
const ANXINCLOUD_PM_SERVICES = process.env.ANXINCLOUD_PM_SERVICES || flags.pmrs; |
|
|
const ANXINCLOUD_PM_SERVICES = process.env.ANXINCLOUD_PM_SERVICES || flags.pmrs; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
console.log('API_URL',API_URL); |
|
|
|
|
|
console.log('API_DC_URL',API_DC_URL); |
|
|
|
|
|
console.log('WEB_PEP_URL',WEB_PEP_URL); |
|
|
|
|
|
console.log('FS_PEP_DOMAIN',FS_PEP_DOMAIN); |
|
|
|
|
|
console.log('ANXINCLOUD_QINIU_AK',ANXINCLOUD_QINIU_AK); |
|
|
|
|
|
console.log('ANXINCLOUD_QINIU_SK',ANXINCLOUD_QINIU_SK); |
|
|
|
|
|
console.log('ANXINCLOUD_QINIU_BUCKET_RESOURCE',ANXINCLOUD_QINIU_BUCKET_RESOURCE); |
|
|
|
|
|
console.log('ANXINCLOUD_QINIU_DOMAIN_QNDMN_RESOURCE',ANXINCLOUD_QINIU_DOMAIN_QNDMN_RESOURCE); |
|
|
|
|
|
|
|
|
|
|
|
if ( |
|
|
if ( |
|
|
!API_URL |
|
|
!API_URL |
|
|
|| !API_DC_URL |
|
|
|| !API_DC_URL |
|
|