修改支付跳转参数

This commit is contained in:
zhouyanli
2026-07-25 16:30:00 +08:00
parent 9ebe66cacb
commit a3f35f95b5
4 changed files with 72 additions and 22 deletions

View File

@@ -2,10 +2,10 @@
import { onLaunch, onShow } from '@dcloudio/uni-app'
import { captureAppLaunchData } from '/pageSubPack/api/appLaunch.js'
onLaunch(() => {
console.log('App 启动')
onLaunch((options) => {
console.log('App 启动', JSON.stringify(options))
// 捕获 App 跳转传入的支付参数(冷启动)
captureAppLaunchData()
captureAppLaunchData(options)
// #ifdef APP-PLUS
getPushCID()