Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wechat-common
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiaomai-cloud-class
wechat-common
Commits
026549a7
Commit
026549a7
authored
Aug 02, 2021
by
zhujian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
b1a77a5d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
src/common/js/config.ts
+5
-2
No files found.
src/common/js/config.ts
View file @
026549a7
...
...
@@ -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
];
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment