调整universallinks

This commit is contained in:
唐明明
2021-11-02 17:25:12 +08:00
parent 84c4b3a097
commit d0596bd8a2
6 changed files with 332 additions and 44194 deletions

View File

@@ -0,0 +1,11 @@
{
"applinks": {
"apps": [],
"details": [
{
"appID": "io.lianshang.app",
"paths": [ "https://www.lianshang.vip/ulink/*"]
}
]
}
}

View File

@@ -77,7 +77,7 @@
"weixin": { "weixin": {
"__platform__": ["ios", "android"], "__platform__": ["ios", "android"],
"appid": "wxd8b146e0a37bab50", "appid": "wxd8b146e0a37bab50",
"UniversalLinks" : "https://io.lianshang.app" "UniversalLinks": "https://lianshang/app/"
}, },
"alipay": { "alipay": {
"__platform__": ["ios", "android"] "__platform__": ["ios", "android"]
@@ -88,7 +88,7 @@
"weixin": { "weixin": {
"appid": "wxd8b146e0a37bab50", "appid": "wxd8b146e0a37bab50",
"appsecret": "6896afa5d57be13aecaf179c3547a940", "appsecret": "6896afa5d57be13aecaf179c3547a940",
"UniversalLinks" : "https://io.lianshang.app" "UniversalLinks": "https://lianshang/app/"
} }
}, },
"push": { "push": {
@@ -97,7 +97,7 @@
"share": { "share": {
"weixin": { "weixin": {
"appid": "wxd8b146e0a37bab50", "appid": "wxd8b146e0a37bab50",
"UniversalLinks" : "https://io.lianshang.app" "UniversalLinks": "https://lianshang/app/"
} }
}, },
"maps": { "maps": {
@@ -177,4 +177,3 @@
"vueVersion": "2" "vueVersion": "2"
} }
/* SDK */ /* SDK */

View File

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

View File

@@ -259,9 +259,6 @@
* 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