同步代码

This commit is contained in:
唐明明
2021-11-02 16:49:34 +08:00
parent 531b0ab03f
commit 84c4b3a097
7 changed files with 27 additions and 20 deletions

View File

@@ -35,7 +35,7 @@
success: (res) => { success: (res) => {
if (res.confirm) { if (res.confirm) {
if (plus.os.name=="Android") { if (plus.os.name=="Android") {
plus.runtime.openURL(res.info.extends); plus.runtime.openURL(res.info.download);
} else{ } else{
uni.showToast({ uni.showToast({
title: 'IOS应用暂未上架请打开测试(TestFlight)工具点击更新', title: 'IOS应用暂未上架请打开测试(TestFlight)工具点击更新',

View File

@@ -2,8 +2,8 @@
"name" : "链商星球", "name" : "链商星球",
"appid" : "__UNI__1F65101", "appid" : "__UNI__1F65101",
"description" : "安徽星煌,链商星球商家工具", "description" : "安徽星煌,链商星球商家工具",
"versionName" : "1.0.8", "versionName" : "1.0.9",
"versionCode" : 108, "versionCode" : 109,
"transformPx" : false, "transformPx" : false,
/* 5+App */ /* 5+App */
"app-plus" : { "app-plus" : {

View File

@@ -224,18 +224,22 @@
}, 3000); }, 3000);
}, },
fail: (err) => { fail: (err) => {
uni.showToast({ uni.showModal({
title: '支付失败', title: '调试信息',
duration: 3000, content: err
mask: true,
icon: 'none'
}) })
setTimeout(() => { // uni.showToast({
uni.navigateTo({ // title: err,
url: '/pages/goods/payStatus?success=false' // duration: 3000,
}) // mask: true,
this.canPay = true // icon: 'none'
}, 3000); // })
// setTimeout(() => {
// uni.navigateTo({
// url: '/pages/goods/payStatus?success=false'
// })
// this.canPay = true
// }, 3000);
} }
}) })
} else { } else {

View File

@@ -259,6 +259,9 @@
* 4 企业id * 4 企业id
**/ **/
if (sweixin != null) { if (sweixin != null) {
console.log(this.company.original_id)
sweixin.launchMiniProgram({ sweixin.launchMiniProgram({
id: this.company.original_id, id: this.company.original_id,
path: 'pages/login/guide?scene=index_' + this.company.company_id path: 'pages/login/guide?scene=index_' + this.company.company_id

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long