feat(brand): 品牌检测建单可选本机/线上采集(V212),默认本机+排队相位可见
This commit is contained in:
@@ -141,6 +141,13 @@ export interface PywebviewApi {
|
||||
expand_brand_folder?: (
|
||||
folder: string,
|
||||
) => Promise<{ success: boolean; items?: Array<{ absolutePath: string; relativePath: string }>; error?: string }>;
|
||||
/**
|
||||
* 品牌检测本机采集(V212):把这一单交给本机 Flask 执行并返回 task_id。
|
||||
* 老客户端没有这个方法 ⇒ 页面据此把「本机采集」置灰并要求升级。
|
||||
*/
|
||||
run_brand_task?: (
|
||||
payload: { files: unknown[]; strategy: string; uid: number },
|
||||
) => Promise<{ success: boolean; task_id?: number; collect_channel?: string; error?: string }>;
|
||||
upload_file_to_java?: (
|
||||
filePath: string,
|
||||
relativePath?: string,
|
||||
|
||||
Reference in New Issue
Block a user