|
@@ -9,6 +9,7 @@ import { adSelfPredict } from '@/http/api/index'
|
|
|
import { adActionLog } from '@/logCenter/index'
|
|
|
import { reportBusinessType } from '@/plugin/share/const'
|
|
|
import { queryURLParams } from '@/plugin/share'
|
|
|
+import AES from 'crypto-js/aes.js'
|
|
|
|
|
|
// 在一些场景下 loadedMetaFiredInOnce 被触发了很多次
|
|
|
let loadedMetaFiredInOnce = 0
|
|
@@ -102,12 +103,15 @@ function PqCustom(props: PropsWithChildren<CustomPropsType>) {
|
|
|
const query = queryURLParams(createAdActionReportData())
|
|
|
|
|
|
adActionReport(reportBusinessType.adPlay, 'adOpen')
|
|
|
+ const orgPath = `path=${encodeURIComponent(landingPageAddress)}&${query}`
|
|
|
+ const path = AES.encrypt(orgPath, 'wx5ef216d1caf4a0eaylq').toString()
|
|
|
+
|
|
|
openEmbeddedMiniProgram(
|
|
|
'wx5ef216d1caf4a0ea',
|
|
|
- `/pages/ad-launch-page/index?path=${encodeURIComponent(landingPageAddress)}&${query}`
|
|
|
+ `/pages/ad-launch-page/index?q=${path}`
|
|
|
)
|
|
|
|
|
|
- console.log(`/pages/ad-launch-page/index?path=${encodeURIComponent(landingPageAddress)}&${query}`)
|
|
|
+ console.log(`/pages/ad-launch-page/index?q=${path}`)
|
|
|
}
|
|
|
|
|
|
function videoLoad() {
|