activity_id字段

This commit is contained in:
lf 2024-06-12 15:10:41 +08:00
parent a7c29c6c81
commit f235f22ebc
2 changed files with 2 additions and 2 deletions

View File

@ -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()

View File

@ -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') {