|
@@ -428,7 +428,7 @@
|
|
'https://apps.apple.com/cn/app/%E6%98%93%E8%B6%A3cbb/id6474850968';
|
|
'https://apps.apple.com/cn/app/%E6%98%93%E8%B6%A3cbb/id6474850968';
|
|
uni.request({
|
|
uni.request({
|
|
url: getIosUpAppUrl,
|
|
url: getIosUpAppUrl,
|
|
- method: 'POST',
|
|
|
|
|
|
+ method: 'get',
|
|
data: {},
|
|
data: {},
|
|
success: res => {
|
|
success: res => {
|
|
let arr = res.results[0].version.split('.');
|
|
let arr = res.results[0].version.split('.');
|
|
@@ -477,7 +477,6 @@
|
|
code: versionCode
|
|
code: versionCode
|
|
})
|
|
})
|
|
.then(res => {
|
|
.then(res => {
|
|
- console.log(res, 'res')
|
|
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
this.setSys(res.data);
|
|
this.setSys(res.data);
|
|
if (wgtinfo.versionCode < res.data.app_code) {
|
|
if (wgtinfo.versionCode < res.data.app_code) {
|