Commit 026549a7 by zhujian

fix

parent b1a77a5d
......@@ -6,8 +6,9 @@
* @Description: 描述一下
* @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/
declare var process:any;
const APP_ID_MAP = {
const APP_ID_MAP:any = {
dev: 'wx3ea60e78ddfa277e',
rc:'wx5c5a1fb71ecab7bc',
gray:'wx3dda02036493ada6',
......@@ -15,6 +16,8 @@ const APP_ID_MAP = {
}
// 调试环境,默认dev
const ENV = 'prod';
const ENV: string = process.env.DEPLOY_ENV || 'dev'
console.log( process.env.DEPLOY_ENV,' process.env.DEPLOY_ENV process.env.DEPLOY_ENV')
export const AppId = APP_ID_MAP[ENV];
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment