activity_id字段
This commit is contained in:
parent
a7c29c6c81
commit
f235f22ebc
|
@ -58,7 +58,7 @@ const exchange = () => {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
function getlist() {
|
function getlist() {
|
||||||
const params = { id: route.product_id, activity_code: route.activity_code }
|
const params = { product_id: route.product_id, activity_code: route.activity_code }
|
||||||
Api.getProductDetail(params).then((res: any) => {
|
Api.getProductDetail(params).then((res: any) => {
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
uni.hideLoading()
|
uni.hideLoading()
|
||||||
|
|
|
@ -90,7 +90,7 @@ window.parent.addEventListener('message', function (event) {
|
||||||
}
|
}
|
||||||
} else if (event.data.data.type === 'coupon') {
|
} else if (event.data.data.type === 'coupon') {
|
||||||
srcData = {
|
srcData = {
|
||||||
url: contentData.user_content_templates.source,
|
url: contentData.user_content_templates.source + `?activity_code=${query.value}`,
|
||||||
title: contentData.user_content_templates.moduledesc,
|
title: contentData.user_content_templates.moduledesc,
|
||||||
}
|
}
|
||||||
} else if (event.data.data.type === 'product') {
|
} else if (event.data.data.type === 'product') {
|
||||||
|
|
Loading…
Reference in New Issue