Commit 0b6c31f5 by sunchao

热更新&提现bug修复

parent 695fa365
......@@ -22,6 +22,7 @@
// });
// #endif
// #ifdef APP-PLUS
plus.runtime.getProperty(plus.runtime.appid, (wgtinfo) => {
uni.getSystemInfo({
success:(systemInfo)=> {
uni.request({
......@@ -29,12 +30,13 @@
method:'POST',
data: {
appType: 1,
version: systemInfo.appVersion,
version: wgtinfo.version,
systemType:systemInfo.osName.toLowerCase() === 'ios' ? 2 : 1
},
success: (result) => {
console.log(wgtinfo)
const data = result.data.data['appVersionInfo'];
if (data.isForceUpdate && data.wgtUrl) {
if (data.status==1 && data.isForceUpdate && data.wgtUrl) {
uni.downloadFile({
url: `${baseURL}${data.wgtUrl}`,
success: (downloadResult) => {
......@@ -55,6 +57,8 @@
});
}
})
})
// #endif
initApp()
// this.checkArguments();
......
......@@ -5,7 +5,7 @@
</view>
<view class="logo">
<image :src="imgSrc" alt="logo" srcset="" class="iconBox" mode="widthFix"></image>
<view>欢迎登录使用CFFP</view>
<view>欢迎登录使用CFFP测测---</view>
</view>
<view class="content">
<view class="login_title">
......
......@@ -2,7 +2,7 @@
"name" : "CFFP财富中心",
"appid" : "__UNI__ED34740",
"description" : "",
"versionCode" : 104,
"versionCode" : 109,
"transformPx" : false,
/* 5+App特有相关 */
"app-plus" : {
......@@ -202,5 +202,5 @@
}
},
"_spaceID" : "mp-68e17e23-e517-4839-8210-27480303cc51",
"versionName" : "1.1.12"
"versionName" : "1.1.17"
}
......@@ -58,7 +58,7 @@
<navigator class="rule" url="/pages/taxRules/taxRules">《劳务报酬税缴纳规则》;</navigator>
</view>
<view class="">
3、如需帮助,请联系CFFP财富中心客服电话:12345678;
3、如需帮助,请联系CFFP财富中心客服电话400:921-9290;
</view>
</view>
<view class="btn" @click="confirmWithdrawal()" :class="{'gray':readonlyFlag}" style="bottom: 30rpx;">
......@@ -70,7 +70,6 @@
<script>
import api from '../../api/api';
import common from '../../common/common';
export default{
data(){
return {
......@@ -82,14 +81,12 @@
aliWithdrawalResVO:null,
wxWithdrawalResVO:null,
readonlyFlag:false,
deviceType:null
}
},
components:{},
onLoad(options){
this.deviceType = common.checkDeviceType();
this.exchangeAmount = options.exchangeAmount;
this.partnerTradeNo = options.partnerTradeNo;
console.log(options)
this.goFortuneWithdrawal()
},
methods:{
......@@ -99,6 +96,7 @@
});
},
goFortuneWithdrawal(){
console.log(1)
const param = {
userId:uni.getStorageSync('cffp_userId'),
// userId: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