后端迁移快手云领取服务

This commit is contained in:
yml
2026-05-21 15:47:06 +08:00
parent 73982259c5
commit f8c59abb95
3 changed files with 12 additions and 1 deletions
@@ -23,7 +23,9 @@ import { getClaimContext, getClaimDetail } from './claim-session-service.js'
const KUAISHOU_CLOUD_GUIDE_DIR = path.resolve(PROJECT_ROOT, '../../tems/imgs')
const ALLOWED_GUIDE_FILES = new Set(['1.png', '2.png', '3.png'])
export async function verifyKuaishouCloudClaimTicket(token, payload = {}) {
type JsonObject = Record<string, any>
export async function verifyKuaishouCloudClaimTicket(token: unknown, payload: JsonObject = {}) {
const context = await getClaimContext(token)
const now = nowIso()