feat(huya): 协作台账补资料与管理员复制 CK

This commit is contained in:
yml2213
2026-10-17 20:47:31 +08:00
parent 8fac4a1d04
commit f06869c4b1
4 changed files with 528 additions and 28 deletions
+5
View File
@@ -286,6 +286,11 @@ export const huyaApi = {
'/huya/external-orders/ck/export',
{ ids },
),
/** 单行复制 CK(仅超级管理员;后端再次校验角色) */
copyCollabOrderCk: (id: number) =>
api.post<HuyaCollabCkExportResult, HuyaCollabCkExportResult>(
`/huya/external-orders/${id}/ck/copy`,
),
/** 删除一行(只给运营:huya:collab:manage) */
deleteCollabOrder: (id: number) =>
api.delete<{ success: boolean; order_no: string }, { success: boolean; order_no: string }>(