Commit 97e4fc6a by 高淑倩

测试_tunnel-token

parent 62b3815e
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
</view> </view>
</block> </block>
</view> </view>
<view class="bottom-tab fixed-bottom0" wx:if="{{tabBar.num == 5}}"> <view class="bottom-tab bgc fixed-bottom0" wx:if="{{tabBar.num == 5}}">
<block wx:for="{{tabBarList}}" wx:key="{{index}}" wx:for-item="tab"> <block wx:for="{{tabBarList}}" wx:key="{{index}}" wx:for-item="tab">
<view class="tab" data-item="{{tab}}" bindtap="handelToPage"> <view class="tab" data-item="{{tab}}" bindtap="handelToPage">
<!--当前页面需要授权 且未授权--> <!--当前页面需要授权 且未授权-->
......
...@@ -44,8 +44,8 @@ Component({ ...@@ -44,8 +44,8 @@ Component({
wxService.request({ wxService.request({
url: app.globalData.ctx + '/sale/premium/query', url: app.globalData.ctx + '/sale/premium/query',
header: { header: {
// 'tunnel-token' : 'aa8a1bfb7f6c5031d172d94b6574293ef954a6f2d4e16657da008e0cc15588feD' 'tunnel-token' : 'aa8a1bfb7f6c5031d172d94b6574293ef954a6f2d4e16657da008e0cc15588feD' // 测试
'tunnel-token' : 'd6db651f8b9c7db4176465accfc1c913843fd9ad328cd5f4fe201d918072c9e8' // 生产 // 'tunnel-token' : 'd6db651f8b9c7db4176465accfc1c913843fd9ad328cd5f4fe201d918072c9e8' // 生产
}, },
success: (res) => { success: (res) => {
const { result, data } = res.data const { result, data } = res.data
......
...@@ -4,9 +4,9 @@ const needMock = '' // ...@@ -4,9 +4,9 @@ const needMock = '' //
// appid_dev_wx wxc3b64b09b1d3dfc2 // appid_dev_wx wxc3b64b09b1d3dfc2
// appid_test_wx wx857ea77f4f7f4f34 wxac09792264c49b5c // appid_test_wx wx857ea77f4f7f4f34 wxac09792264c49b5c
// appid_pre_711 wx358b56af62edbde1 // appid_pre_711 wx358b56af62edbde1
// appid_prod_711 wx700028bf32a3be66 wx313ec36b710125d4---3001 --- tunnel-token // appid_prod_711 wx700028bf32a3be66 wx313ec36b710125d4---3001 ---
// 1 2 3 步!!!!!!!!!!!!!!!!!!!!!! prod appid brandId // 1 2 3 4步!!!!!!!!!!!!!!!!!!!!!! prod appid brandId tunnel-token
// const devCtx = 'http://111.231.86.64' // const devCtx = 'http://111.231.86.64'
const devCtx = 'http://buyer.devapi.bigaka.net' // 开发环境 1 const devCtx = 'http://buyer.devapi.bigaka.net' // 开发环境 1
......
...@@ -99,8 +99,8 @@ class Http { ...@@ -99,8 +99,8 @@ class Http {
url, url,
method: 'GET', method: 'GET',
header: { header: {
// 'tunnel-token': 'aa8a1bfb7f6c5031d172d94b6574293ef954a6f2d4e16657da008e0cc15588feD', 'tunnel-token': 'aa8a1bfb7f6c5031d172d94b6574293ef954a6f2d4e16657da008e0cc15588feD', // 测试
'tunnel-token' : 'd6db651f8b9c7db4176465accfc1c913843fd9ad328cd5f4fe201d918072c9e8', // 生产 // 'tunnel-token' : 'd6db651f8b9c7db4176465accfc1c913843fd9ad328cd5f4fe201d918072c9e8', // 生产
'tentacle-content': this.getTentacle(), 'tentacle-content': this.getTentacle(),
// 'tentacle-content': '{"id":"621346354647797760","tentacleType":3,"tentacleId":"611969009872691200","contentType":1}' // 'tentacle-content': '{"id":"621346354647797760","tentacleType":3,"tentacleId":"611969009872691200","contentType":1}'
...@@ -131,8 +131,8 @@ class Http { ...@@ -131,8 +131,8 @@ class Http {
url, url,
method: 'POST', method: 'POST',
header: { header: {
// 'tunnel-token': 'aa8a1bfb7f6c5031d172d94b6574293ef954a6f2d4e16657da008e0cc15588feD', 'tunnel-token': 'aa8a1bfb7f6c5031d172d94b6574293ef954a6f2d4e16657da008e0cc15588feD', // 测试
'tunnel-token' : 'd6db651f8b9c7db4176465accfc1c913843fd9ad328cd5f4fe201d918072c9e8', // 生产 // 'tunnel-token' : 'd6db651f8b9c7db4176465accfc1c913843fd9ad328cd5f4fe201d918072c9e8', // 生产
'tentacle-content': this.getTentacle() 'tentacle-content': this.getTentacle()
// 'tentacle-content': '{"id":"621346354647797760","tentacleType":3,"tentacleId":"611969009872691200","contentType":1}' // 'tentacle-content': '{"id":"621346354647797760","tentacleType":3,"tentacleId":"611969009872691200","contentType":1}'
}, },
......
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