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
16d3eb7f
Commit
16d3eb7f
authored
Sep 26, 2019
by
高淑倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
prod_tunnel-token
parent
89d30f5d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
1 deletions
+4
-1
plus.js
src/component/plus/plus.js
+1
-0
index.js
src/config/index.js
+1
-1
Http.js
src/utils/Http.js
+2
-0
No files found.
src/component/plus/plus.js
View file @
16d3eb7f
...
...
@@ -45,6 +45,7 @@ Component({
url
:
app
.
globalData
.
ctx
+
'/sale/premium/query'
,
header
:
{
'tunnel-token'
:
'aa8a1bfb7f6c5031d172d94b6574293ef954a6f2d4e16657da008e0cc15588feD'
// 'tunnel-token' : 'd6db651f8b9c7db4176465accfc1c913843fd9ad328cd5f4fe201d918072c9e8' // 生产
},
success
:
(
res
)
=>
{
const
{
result
,
data
}
=
res
.
data
...
...
src/config/index.js
View file @
16d3eb7f
...
...
@@ -4,7 +4,7 @@ const needMock = '' //
// appid_dev_wx wxc3b64b09b1d3dfc2
// appid_test_wx wx857ea77f4f7f4f34 wxac09792264c49b5c
// appid_pre_711 wx358b56af62edbde1
// appid_prod_711 wx700028bf32a3be66 wx313ec36b710125d4---3001
// appid_prod_711 wx700028bf32a3be66 wx313ec36b710125d4---3001
--- tunnel-token
// 1 2 3 步!!!!!!!!!!!!!!!!!!!!!! prod appid brandId
...
...
src/utils/Http.js
View file @
16d3eb7f
...
...
@@ -100,6 +100,7 @@ class Http {
method
:
'GET'
,
header
:
{
'tunnel-token'
:
'aa8a1bfb7f6c5031d172d94b6574293ef954a6f2d4e16657da008e0cc15588feD'
,
// 'tunnel-token' : 'd6db651f8b9c7db4176465accfc1c913843fd9ad328cd5f4fe201d918072c9e8', // 生产
'tentacle-content'
:
this
.
getTentacle
(),
// 'tentacle-content': '{"id":"621346354647797760","tentacleType":3,"tentacleId":"611969009872691200","contentType":1}'
...
...
@@ -131,6 +132,7 @@ class Http {
method
:
'POST'
,
header
:
{
'tunnel-token'
:
'aa8a1bfb7f6c5031d172d94b6574293ef954a6f2d4e16657da008e0cc15588feD'
,
// 'tunnel-token' : 'd6db651f8b9c7db4176465accfc1c913843fd9ad328cd5f4fe201d918072c9e8', // 生产
'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