From 863bc3b4346d68fe701dff06278ea9241a6b04ae Mon Sep 17 00:00:00 2001 From: JinxChen <2183691628@qq.com> Date: Wed, 19 Apr 2023 15:43:23 +0800 Subject: [PATCH] =?UTF-8?q?update=20-=20packageList=20-=20packageBuy=20=20?= =?UTF-8?q?=20=20=20-=20=E5=A2=9E=E5=8A=A0=20=E4=B8=8B=E5=8D=95=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=20pkId=20=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 11 +++++++++-- src/config/models.js | 2 +- src/views/package-buy/index.vue | 2 ++ src/views/package-list/index.vue | 4 +++- 4 files changed, 15 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f6f031a..ff2866d 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ @@ -380,4 +380,11 @@ update - packageHome - 增加 进入充值首页时已充值跳转到话费查询页面 - cardInfo - - 修复 code重复的问题 \ No newline at end of file + - 修复 code重复的问题 + +## v1.0.45 +`2023.4.19` +update +- packageList +- packageBuy + - 增加 下单接口 pkId 参数 \ No newline at end of file diff --git a/src/config/models.js b/src/config/models.js index a384113..c1705c8 100644 --- a/src/config/models.js +++ b/src/config/models.js @@ -5,7 +5,7 @@ * @FilePath: \TelpoH5FrontendWeb\src\config\models.js * @description: */ -export const VERSION_MODEL = '1.0.44F'; //版本号 +export const VERSION_MODEL = '1.0.45F'; //版本号 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 f306129..dc0d926 100644 --- a/src/views/package-buy/index.vue +++ b/src/views/package-buy/index.vue @@ -306,6 +306,7 @@ export default { packageName: orderData.productModel + "," + orderData.packagesName, //套餐名字 packagePayType: '1', //支付类型, 默认微信 + pkId: data.packagesCardId, packageIssue: orderData.packageIssue, //分期 packagePrice: orderData.packagesPrice * 100 }; @@ -411,6 +412,7 @@ export default { imei: that.$route.query.imei, //imei iccid: that.$route.query.iccid, productId: this.payProductId, //套餐id + pkId: data.packagesCardId, packageName: /* data.productModel + ',' + */data.packagesName, //套餐名字 packagePayType: Number(this.payType), //支付类型 packageIssue: this.packageIssue, //分期 diff --git a/src/views/package-list/index.vue b/src/views/package-list/index.vue index 0f1ce7c..6c6d90b 100644 --- a/src/views/package-list/index.vue +++ b/src/views/package-list/index.vue @@ -1,7 +1,7 @@ @@ -351,6 +351,7 @@ export default { packageName: /* data.productModel */ data.packagesName, //套餐名字 packagePayType: Number(this.payType), //支付类型 packageIssue: 0, //分期 + pkId: data.packagesCardId, packagePrice: process.env.NODE_ENV === "production" ? data.packagesPrice * 100 : 1 //总金额单位为分,测试环境写死 }; this.$toast.clear(); @@ -509,6 +510,7 @@ export default { productId: this.payProductId, //套餐id packageName: /* data.productModel + ',' + */data.packagesName, //套餐名字 packagePayType: Number(this.payType), //支付类型 + pkId: data.packagesCardId, packageIssue: this.packageIssue, //分期 packagePrice: process.env.NODE_ENV === "production" ? data.packagesPrice * 100 : 1 //总金额单位为分,测试环境写死 };