From 891eff0c67eb4241b817fca0382e635679744b2c Mon Sep 17 00:00:00 2001 From: JinxChen <2183691628@qq.com> Date: Thu, 27 Apr 2023 14:39:33 +0800 Subject: [PATCH] =?UTF-8?q?update=20-=20packageBuy=20=20=20=20=20-=20?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=20=E5=8A=A0=E6=B2=B9=E5=8C=85=20=E4=B8=8B?= =?UTF-8?q?=E5=8D=95=E6=8E=A5=E5=8F=A3=20productId=20=E5=8F=82=E6=95=B0?= =?UTF-8?q?=EF=BC=8C=E4=BB=8E=E5=8E=9F=E6=9D=A5=20packagesId=20=E5=8F=98?= =?UTF-8?q?=E6=88=90=20payTypeList[0].productId=20=E5=8D=B3=E6=94=B6?= =?UTF-8?q?=E5=8D=95=E7=B3=BB=E7=BB=9Fid?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 10 ++++++++-- src/config/models.js | 4 ++-- src/views/package-buy/index.vue | 5 +++-- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index ff2866d..9a325ee 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ @@ -387,4 +387,10 @@ update update - packageList - packageBuy - - 增加 下单接口 pkId 参数 \ No newline at end of file + - 增加 下单接口 pkId 参数 + +## v1.0.46 +`2023.4.27` +update +- packageBuy + - 修改 加油包 下单接口 productId 参数,从原来 packagesId 变成 payTypeList[0].productId 即收单系统id \ No newline at end of file diff --git a/src/config/models.js b/src/config/models.js index c1705c8..f246cff 100644 --- a/src/config/models.js +++ b/src/config/models.js @@ -1,11 +1,11 @@ /* * @Date: 2021-11-20 10:26:39 * @LastEditors: JinxChen - * @LastEditTime: 2023-04-17 16:55:44 + * @LastEditTime: 2023-04-27 14:37:31 * @FilePath: \TelpoH5FrontendWeb\src\config\models.js * @description: */ -export const VERSION_MODEL = '1.0.45F'; //版本号 +export const VERSION_MODEL = '1.0.46F'; //版本号 export const IMAGE_URL = { production: 'http://zfb.ssjlai.com/web/', test: 'http://zfb.ssjlai.com/web/', diff --git a/src/views/package-buy/index.vue b/src/views/package-buy/index.vue index dc0d926..17c98e3 100644 --- a/src/views/package-buy/index.vue +++ b/src/views/package-buy/index.vue @@ -1,7 +1,7 @@ @@ -298,11 +298,12 @@ export default { wxPay(data, packageType) { let that = this; const orderData = data; + console.log("orderData", orderData); let reqBody = { openId: this.$store.getters.openId, //openId imei: that.$route.query.imei, //imei iccid: that.$route.query.iccid, - productId: orderData.packagesId, //套餐id + productId: orderData.payTypeList[0].productId, //套餐id packageName: orderData.productModel + "," + orderData.packagesName, //套餐名字 packagePayType: '1', //支付类型, 默认微信