代兑换

This commit is contained in:
liuye
2023-05-22 17:22:07 +08:00
parent 6355158040
commit 0a9e84b6dd
2 changed files with 2 additions and 2 deletions

View File

@@ -111,7 +111,7 @@ export default {
}, },
toSuccess() { toSuccess() {
var integralPrice = this.goodsNum*this.goodsInfo.integralPrice var integralPrice = this.goodsNum*this.goodsInfo.integralPrice
uni.navigateTo({url: `./successOrder?isFree=${this.goodsInfo.type}&integralPrice=${integralPrice}&backLevel=${this.backLevel}&goodsJdUrl=${this.goodsInfo.jdUrl}`}) uni.navigateTo({url: `./successOrder?shopGoodsId=${this.goodsInfo.shopGoodsId}&integralPrice=${integralPrice}&backLevel=${this.backLevel}`})
} }
}, },
} }

View File

@@ -47,7 +47,7 @@ export default {
}, },
methods: { methods: {
getDetail() { getDetail() {
this.$instance.post(`/app/appintegralsupermarketshop/queryGoodsInfoXCX?shopGoodsId=${this.shopGoodsId}`).then(res => { this.$http.post(`/app/appintegralsupermarketshop/queryGoodsInfoXCX?shopGoodsId=${this.shopGoodsId}`).then(res => {
if (res.code === 0) { if (res.code === 0) {
this.goodsInfo = res.data this.goodsInfo = res.data
} }