|
|
@ -29,16 +29,20 @@ onMounted(() =>{ |
|
|
|
encrypted_codes: ticket?.encrypted_codes ?? '', |
|
|
|
douyin_merchant_pay_amount: ticket?.douyin_merchant_pay_amount ?? '', |
|
|
|
certificate_id: ticket?.certificate_id ?? '', |
|
|
|
certificate: ticket?.certificates ?? null, |
|
|
|
}) |
|
|
|
}) |
|
|
|
}) |
|
|
|
function pvc_func({ |
|
|
|
appid, brand_id, stadium_id, encrypted_codes, douyin_merchant_pay_amount, certificate_id |
|
|
|
appid, brand_id, stadium_id, |
|
|
|
encrypted_codes, douyin_merchant_pay_amount, |
|
|
|
certificate_id, certificate |
|
|
|
}){ |
|
|
|
jsapiPreVerifyCertificates({ |
|
|
|
data: { |
|
|
|
appid, brand_id, stadium_id, |
|
|
|
encrypted_codes, douyin_merchant_pay_amount, certificate_id |
|
|
|
encrypted_codes, douyin_merchant_pay_amount, |
|
|
|
certificate_id, certificate |
|
|
|
}, |
|
|
|
}) |
|
|
|
.then(res=>{ |
|
|
|