From 744d6ac39032b618a71d5743a9165edcd869f35c Mon Sep 17 00:00:00 2001 From: WOSHIMAHAIFENG Date: Tue, 26 Mar 2024 11:24:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=BE=AE=E4=BF=A1=E6=94=AF?= =?UTF-8?q?=E4=BB=98=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 80 +++++++------ .../API/request-payment/request-payment.uvue | 113 ++++++++++++++++-- 2 files changed, 147 insertions(+), 46 deletions(-) diff --git a/manifest.json b/manifest.json index c0e3648f..f03511d0 100644 --- a/manifest.json +++ b/manifest.json @@ -1,37 +1,47 @@ -{ - "name" : "hello-uniapp x", - "appid" : "__UNI__3584C99", - "description" : "", - "versionName" : "1.0.23", - "versionCode" : 10023, - "uni-app-x" : {}, - /* 快应用特有相关 */ - "quickapp" : {}, - /* 小程序特有相关 */ - "mp-weixin" : { - "appid" : "", - "setting" : { - "urlCheck" : false - }, - "usingComponents" : true - }, - "mp-alipay" : { - "usingComponents" : true - }, - "mp-baidu" : { - "usingComponents" : true - }, - "mp-toutiao" : { - "usingComponents" : true - }, - "uniStatistics" : { - "enable" : false - }, - "app" : {}, - "vueVersion" : "3", - "h5" : { - "router" : { - "base" : "/web/" +{ + "name": "hello-uniapp x", + "appid": "__UNI__3584C99", + "description": "", + "versionName": "1.0.23", + "versionCode": 10023, + "uni-app-x": {}, + /* 快应用特有相关 */ + "quickapp": {}, + /* 小程序特有相关 */ + "mp-weixin": { + "appid": "", + "setting": { + "urlCheck": false + }, + "usingComponents": true + }, + "mp-alipay": { + "usingComponents": true + }, + "mp-baidu": { + "usingComponents": true + }, + "mp-toutiao": { + "usingComponents": true + }, + "uniStatistics": { + "enable": false + }, + "app": { + "distribute": { + /* android打包配置 */ + "modules": { + "uni-payment":{ + "alipay":{}, + "wxpay":{} } - } + } + } + }, + "vueVersion": "3", + "h5": { + "router": { + "base": "/web/" + } + } } diff --git a/pages/API/request-payment/request-payment.uvue b/pages/API/request-payment/request-payment.uvue index 69c67bb1..b79bf87d 100644 --- a/pages/API/request-payment/request-payment.uvue +++ b/pages/API/request-payment/request-payment.uvue @@ -1,9 +1,14 @@