Authored by baoss

修复助力分享 增加公共参数app_build review by bevishuang

@@ -147,6 +147,7 @@ const api = { @@ -147,6 +147,7 @@ const api = {
147 client_type: config.apiParams.client_type, 147 client_type: config.apiParams.client_type,
148 app_version: config.apiParams.app_version, 148 app_version: config.apiParams.app_version,
149 miniapp_version: config.apiParams.miniapp_version, 149 miniapp_version: config.apiParams.miniapp_version,
  150 + app_build: config.apiParams.app_build,
150 udid: udid.get(), 151 udid: udid.get(),
151 business_line: config.business_line, 152 business_line: config.business_line,
152 channel_type: 1 153 channel_type: 1
@@ -18,7 +18,8 @@ const config = { @@ -18,7 +18,8 @@ const config = {
18 client_type: 'miniapp', 18 client_type: 'miniapp',
19 private_key: 'b43890b0a296ff3c7b8c260ca763980b', 19 private_key: 'b43890b0a296ff3c7b8c260ca763980b',
20 app_version: '6.7.0', 20 app_version: '6.7.0',
21 - miniapp_version: '0.0.1' 21 + miniapp_version: '0.0.1',
  22 + app_build: '3000'
22 }, 23 },
23 unionType: '', // 渠道号 24 unionType: '', // 渠道号
24 MINI_APP_DOMAIN: 'miniapp.yohobuy.com', 25 MINI_APP_DOMAIN: 'miniapp.yohobuy.com',
@@ -69,10 +69,10 @@ @@ -69,10 +69,10 @@
69 <action-bar wx:if="{{assistStatus === 1 || assistStatus === 3}}"> 69 <action-bar wx:if="{{assistStatus === 1 || assistStatus === 3}}">
70 <view class="bottom1-action"> 70 <view class="bottom1-action">
71 <block wx:if="{{offlineStatus === 1}}"> 71 <block wx:if="{{offlineStatus === 1}}">
72 - <button class="as-bottom ok1">{{isNew=='Y' ? '邀请新用户助力获取限购码' : '邀请好友助力获取限购码'}} 72 + <button class="as-bottom ok1" bindtap="assistShare">{{isNew=='Y' ? '邀请新用户助力获取限购码' : '邀请好友助力获取限购码'}}
73 <text class="buy-tip"> (线下购买专用)</text></button> 73 <text class="buy-tip"> (线下购买专用)</text></button>
74 </block> 74 </block>
75 - <button wx:else class="as-bottom ok">{{isNew=='Y' ? '邀请新用户助力获取限购码' : '邀请好友助力获取限购码'}}</button> 75 + <button wx:else class="as-bottom ok" bindtap="assistShare">{{isNew=='Y' ? '邀请新用户助力获取限购码' : '邀请好友助力获取限购码'}}</button>
76 <view class="help-wrapper" bindtap="goHelp"> 76 <view class="help-wrapper" bindtap="goHelp">
77 <image class="help" src="../../../static/images/XD_q_ic@3x.png"></image> 77 <image class="help" src="../../../static/images/XD_q_ic@3x.png"></image>
78 </view> 78 </view>