feat(kg): 账密登录与 20028 验证码处理——/v9/login_by_pwd、ssa-code 挑战链、行为指纹模拟、dfid 正式注册

This commit is contained in:
snowy-yang committed 2026-10-02 19:43:08 +08:00
1 parent e796e622f2
commit 3b40ba4c8f
3 files changed
+366 -3

No files matched your search

+5
View File
@@ -8,8 +8,13 @@ import hotSearch from './hotSearch.ts'
import comment from './comment.ts'
import singer from './singer.ts'
import album from './album.ts'
import { registerDfid } from '../auth/kg.ts'
const kg = {
// 启动时注册正式 dfid(幂等;随机 dfid 匿名取流易撞 20028 验证,注册后显著降低)
async init() {
await registerDfid().catch((err: any) => console.log(`[kg/init] dfid 注册跳过: ${err.message}`))
},
leaderboard,
songList,
musicSearch,