fix:对接高德地图,修复地图bug
This commit is contained in:
@@ -271,9 +271,9 @@
|
||||
title: $t('common.processing')
|
||||
});
|
||||
|
||||
// 调用后端创建微信支付订单接口
|
||||
// 调用后端创建支付宝支付订单接口
|
||||
const res = await uni.request({
|
||||
url: `${URL || 'http://127.0.0.1:8080'}/app/wx-payment/create/${order.orderNo}`,
|
||||
url: `${URL || 'http://127.0.0.1:8080'}/app/alipay-payment/create/${order.orderNo}`,
|
||||
method: 'GET',
|
||||
header: {
|
||||
'Authorization': "Bearer " + uni.getStorageSync('token'),
|
||||
@@ -284,8 +284,9 @@
|
||||
if (res.statusCode === 200 && res.data.code === 200) {
|
||||
const payParams = res.data.data;
|
||||
|
||||
// 调用微信支付
|
||||
// 调用支付宝支付
|
||||
await uni.requestPayment({
|
||||
provider: 'alipay',
|
||||
...payParams,
|
||||
success: async () => {
|
||||
uni.showToast({
|
||||
|
||||
Reference in New Issue
Block a user