新增支付失败逻辑
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<script setup>
|
||||
import { onLaunch, onShow } from '@dcloudio/uni-app'
|
||||
import { captureAppLaunchData } from '/pageSubPack/api/appLaunch.js'
|
||||
import { captureAppLaunchData, capturePaymentResult } from '/pageSubPack/api/appLaunch.js'
|
||||
|
||||
onLaunch((options) => {
|
||||
console.log('App 启动', JSON.stringify(options))
|
||||
@@ -16,6 +16,8 @@
|
||||
console.log('App onShow, options:', JSON.stringify(options))
|
||||
// 捕获 App 跳转传入的支付参数(热启动 — options 携带新的 referrerInfo)
|
||||
captureAppLaunchData(options)
|
||||
// 捕获日照银行支付小程序返回的支付结果(navigateBackMiniProgram 的 extraData)
|
||||
capturePaymentResult(options)
|
||||
})
|
||||
|
||||
// 获取 uniPush 2.0 CID
|
||||
|
||||
Reference in New Issue
Block a user