This commit is contained in:
张成
2026-03-18 16:57:22 +08:00
parent 7b42ee8ef5
commit bc1068ec66
8 changed files with 275 additions and 128 deletions

View File

@@ -0,0 +1,13 @@
import { run_amazon_search_detail_reviews_flow } from './amazon/amazon_search_detail_reviews_flow.js';
const flow_map = {
amazon_search_detail_reviews: run_amazon_search_detail_reviews_flow
};
export function get_flow_runner(flow_name) {
const fn = flow_map[flow_name];
if (!fn) {
throw new Error(`未知 flow_name: ${flow_name}`);
}
return fn;
}