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
69129ba6
Commit
69129ba6
authored
Oct 22, 2019
by
高淑倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
开发 tunnel-token
parent
76f33f5d
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
5 deletions
+8
-5
app.js
src/app.js
+2
-2
plus.js
src/component/plus/plus.js
+2
-1
index.js
src/config/index.js
+1
-1
project.config.json
src/project.config.json
+1
-1
Http.js
src/utils/Http.js
+2
-0
No files found.
src/app.js
View file @
69129ba6
...
...
@@ -124,8 +124,8 @@ App({
cityJson
:
cityJson
,
// brandId: 2711,
// brandId: 2005,
//
brandId: 1001,
brandId
:
1002
,
brandId
:
1001
,
//
brandId: 1002,
// brandId: 3001,
// brandId: 3002,
}
...
...
src/component/plus/plus.js
View file @
69129ba6
...
...
@@ -45,7 +45,8 @@ Component({
url
:
app
.
globalData
.
ctx
+
'/sale/premium/query'
,
header
:
{
// 'tunnel-token' : 'aa8a1bfb7f6c5031d172d94b6574293ef954a6f2d4e16657da008e0cc15588feD' // 测试
'tunnel-token'
:
'd6db651f8b9c7db4176465accfc1c913843fd9ad328cd5f4fe201d918072c9e8'
// 生产
'tunnel-token'
:
'd6db651f8b9c7db4176465accfc1c913843fd9ad328cd5f4fe201d918072c9e8'
,
// 生产
'tunnel-token'
:
'brand1001'
,
// 开发
},
success
:
(
res
)
=>
{
const
{
result
,
data
}
=
res
.
data
...
...
src/config/index.js
View file @
69129ba6
const
PROJECT_ENV
=
'
test
'
// 生产 prod, 开发 dev, 测试 test, 预生产 pre
const
PROJECT_ENV
=
'
dev
'
// 生产 prod, 开发 dev, 测试 test, 预生产 pre
const
needMock
=
''
//
// appid_dev_wx wxc3b64b09b1d3dfc2
...
...
src/project.config.json
View file @
69129ba6
...
...
@@ -13,7 +13,7 @@
},
"compileType"
:
"miniprogram"
,
"libVersion"
:
"2.8.2"
,
"appid"
:
"wx
ac09792264c49b5c
"
,
"appid"
:
"wx
c3b64b09b1d3dfc2
"
,
"projectname"
:
"%E5%BE%AE%E5%95%86%E5%9F%8E"
,
"debugOptions"
:
{
"hidedInDevtools"
:
[]
...
...
src/utils/Http.js
View file @
69129ba6
...
...
@@ -101,6 +101,7 @@ class Http {
header
:
{
// 'tunnel-token': 'aa8a1bfb7f6c5031d172d94b6574293ef954a6f2d4e16657da008e0cc15588feD', // 测试
'tunnel-token'
:
'd6db651f8b9c7db4176465accfc1c913843fd9ad328cd5f4fe201d918072c9e8'
,
// 生产
'tunnel-token'
:
'brand1001'
,
// 开发
'tentacle-content'
:
this
.
getTentacle
(),
// 'tentacle-content': '{"id":"621346354647797760","tentacleType":3,"tentacleId":"611969009872691200","contentType":1}'
...
...
@@ -133,6 +134,7 @@ class Http {
header
:
{
// 'tunnel-token': 'aa8a1bfb7f6c5031d172d94b6574293ef954a6f2d4e16657da008e0cc15588feD', // 测试
'tunnel-token'
:
'd6db651f8b9c7db4176465accfc1c913843fd9ad328cd5f4fe201d918072c9e8'
,
// 生产
'tunnel-token'
:
'brand1001'
,
// 开发
'tentacle-content'
:
this
.
getTentacle
()
// 'tentacle-content': '{"id":"621346354647797760","tentacleType":3,"tentacleId":"611969009872691200","contentType":1}'
},
...
...
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