Skip to content

Commit 04b2666

Browse files
committed
修复app的微信和支付宝支付
1 parent 2120c59 commit 04b2666

File tree

7 files changed

+20
-8
lines changed

7 files changed

+20
-8
lines changed

App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
goLogin: false,
88
subDomain: 'tz', // jdjf0115
99
merchantId: '951', // 42151
10-
version: '1.1.0',
10+
version: '1.0.1',
1111
sysconfigkeys: 'mallName,shopMod,share_profile,recharge_amount_min,open_growth,shopping_cart_vop_open',
1212
wxpayOpenAppId: 'wx9b04553fd8c7b9c3', // 微信开放平台的移动端应用appID
1313
openAlipayProvider: true, // 是否开通支付宝支付

manifest.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"name" : "天使童装",
33
"appid" : "__UNI__F2EA85C",
44
"description" : "天使童装",
5-
"versionName" : "1.0.0",
6-
"versionCode" : 100,
5+
"versionName" : "1.0.1",
6+
"versionCode" : 101,
77
"transformPx" : false,
88
"app-plus" : {
99
"optimization" : {
@@ -81,9 +81,12 @@
8181
},
8282
"payment" : {
8383
"weixin" : {
84-
"__platform__" : [ "android" ],
84+
"__platform__" : [ "ios", "android" ],
8585
"appid" : "wx9b04553fd8c7b9c3",
8686
"UniversalLinks" : "https://static-80ab3332-a88f-4a44-8486-06fa7fc6392f.bspapp.com/uni-universallinks/__UNI__151F11E/"
87+
},
88+
"alipay" : {
89+
"__platform__" : [ "ios", "android" ]
8790
}
8891
}
8992
},

node_modules/apifm-uniapp/index.js

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/apifm-uniapp/package.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"test": "eslint . --fix"
55
},
66
"devDependencies": {
7-
"apifm-uniapp": "^3.53.0",
7+
"apifm-uniapp": "^3.54.0",
88
"eslint": "^8.2.0",
99
"eslint-config-airbnb": "^19.0.0",
1010
"vue-i18n": "^8.20.0",

pages/order/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@
220220
id: orderInfo.id
221221
}, () => {
222222
this.change(1)
223-
}, () => {
223+
}, (err) => {
224224
uni.showToast({
225225
title: '支付失败',
226226
icon: 'none'

pages/pay/maidan.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
uni.navigateTo({
142142
url: "/pages/asset/cashlog"
143143
})
144-
}, () => {
144+
}, (err) => {
145145
uni.showToast({
146146
title: '支付失败',
147147
icon: 'none'

0 commit comments

Comments
 (0)