后端迁移快手云领取服务
This commit is contained in:
+3
-1
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user