fix: 恢复抖音过期支付并完善原生状态确认
This commit is contained in:
@@ -4,6 +4,12 @@ let appId = ''
|
||||
let busy = false
|
||||
let sequence = 0
|
||||
|
||||
// Host calls only after authenticated server reconciliation of the saved transaction.
|
||||
export function resetPending(): void {
|
||||
busy = false
|
||||
sequence += 1
|
||||
}
|
||||
|
||||
export function configure(id: string): boolean {
|
||||
if (busy || id.trim().length == 0) return false
|
||||
appId = id
|
||||
|
||||
Reference in New Issue
Block a user