完善虎牙外部单展示、状态恢复与礼包配置

This commit is contained in:
yml2213
2026-11-11 12:40:06 +08:00
parent 3a48d9c624
commit b18e46d72d
18 changed files with 1216 additions and 120 deletions
+17 -1
View File
@@ -1187,6 +1187,16 @@ export interface HuyaConfig {
bind_gid: string;
bind_act_id: string;
pay_channel: string;
/** 积分中心 queryAllocation 页面码 */
points_page_code: string;
/** 积分中心 sourceId */
points_source_id: string;
/** 积分中心 scene,默认 7 */
points_scene: string;
/** 可选覆盖:页签 pageId;留空自动从响应发现 */
points_page_id: string;
/** 可选覆盖:页签 ID,逗号分隔;留空自动拉全部页签 */
points_tab_ids: string;
updated_at: string | null;
}
@@ -1471,7 +1481,7 @@ export interface HuyaCollabOrder {
uid: string;
yyuid: string;
hy_username: string;
/** 虎牙号昵称(探针给不出,暂时为空) */
/** 虎牙平台账号昵称(绑定探针通过后由用户资料接口补读) */
nickname: string;
has_cookie: boolean;
has_raw_cookie: boolean;
@@ -1662,6 +1672,8 @@ export interface HuyaCollabStatusBatchRequest {
reason?: string;
/** 目标不是「向前」时必须显式 true */
rollback?: boolean;
/** 仅超级管理员:批次里的 void 行强制恢复,必须填写 reason */
force?: boolean;
}
/** 批量改状态里的一行结论 */
@@ -1861,6 +1873,8 @@ export interface HuyaCollabStatusRequest {
status: HuyaCollabStatus;
reason?: string;
rollback?: boolean;
/** 仅超级管理员:从「已作废」强制恢复,必须填写 reason */
force?: boolean;
expected_version?: number;
}
@@ -1954,6 +1968,8 @@ export interface HuyaCollabCkPreview {
uid: string;
yyuid: string;
hy_username: string;
/** 虎牙平台账号昵称(CK 验证时补读;不是绑定游戏账号昵称) */
nickname: string;
ck_status: HuyaCollabCkStatus;
bind_game_account: string;
bind_game_role: string;