Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
7
7-Eleven
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
高淑倩
7-Eleven
Commits
930ec6aa
Commit
930ec6aa
authored
Jun 14, 2019
by
高淑倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add: test 环境
parent
c7233570
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
9 deletions
+11
-9
app.js
src/app.js
+3
-2
app.json
src/app.json
+3
-1
index.js
src/config/index.js
+4
-5
project.config.json
src/project.config.json
+1
-1
No files found.
src/app.js
View file @
930ec6aa
...
...
@@ -113,7 +113,8 @@ App({
loginFirst
:
false
,
imageUrl
:
""
,
//图片地址
isFullSucreen
:
false
,
// 当前设备是否为 FullSucreen
// brandId: 2005,
brandId
:
1001
,
brandId
:
2005
,
// brandId: 1001,
// brandId: 1002,
}
})
src/app.json
View file @
930ec6aa
...
...
@@ -25,6 +25,7 @@
"wxcf6d299fecd830cf"
,
"wx5717ceb7cfa09f2e"
,
"wx358b56af62edbde1"
,
"wxc3b64b09b1d3dfc2"
"wxc3b64b09b1d3dfc2"
,
"wx857ea77f4f7f4f34"
]
}
\ No newline at end of file
src/config/index.js
View file @
930ec6aa
const
PROJECT_ENV
=
'
dev'
// 生产 prod, 测试 dev
, 预生产 pre
const
PROJECT_ENV
=
'
prod'
// 生产 prod, 开发 dev, 测试 test
, 预生产 pre
const
needMock
=
''
//
// appid_dev_wx wxc3b64b09b1d3dfc2
// appid_test_wx wx857ea77f4f7f4f34
// appid_pre_711 wx358b56af62edbde1
// 711 预备发生产环境
// 后台地址 : https://crm-b.bigaka.com/api
// brandId : 2005
// 1 2 3 步!!!!!!!!!!!!!!!!!!!!!! prod appid brandId
// const devCtx = 'http://111.231.86.64'
const
devCtx
=
'http://buyer.devapi.bigaka.net'
// 开发环境
const
testCtx
=
'https://crm-b.bigaka.net/api'
// 发预生产时解开此注释
const
preCtx
=
'https://crm-b.bigaka.com/api'
// 发预生产时解开此注释
const
prodCtx
=
'https://crm-b.bigaka.com/api'
// 发生产时解开此注释
const
config
=
{
dev
:
devCtx
,
test
:
testCtx
,
pre
:
preCtx
,
prod
:
prodCtx
}
...
...
src/project.config.json
View file @
930ec6aa
...
...
@@ -13,7 +13,7 @@
},
"compileType"
:
"miniprogram"
,
"libVersion"
:
"2.6.6"
,
"appid"
:
"wx
c3b64b09b1d3dfc2
"
,
"appid"
:
"wx
358b56af62edbde1
"
,
"projectname"
:
"7-Eleven"
,
"debugOptions"
:
{
"hidedInDevtools"
:
[]
...
...
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