This commit is contained in:
张成
2026-04-08 14:09:26 +08:00
parent e3d14dd637
commit 21fe005c19
7 changed files with 62 additions and 151 deletions

View File

@@ -77,18 +77,12 @@ class SearchHandler extends BaseHandler {
console.warn('[自动搜索] 读取 resume_info.deliver_tab_label 失败:', e.message);
}
let listKeyword = (keyword && String(keyword).trim()) || (accountConfig.keyword && String(accountConfig.keyword).trim()) || '';
if (!listKeyword && tabLabel) {
listKeyword = tabLabel;
}
const commandParams = {
sn_code,
keyword: listKeyword,
platform: platformType,
pageCount: pageCount || searchConfig.page_count || 3
pageCount: pageCount || searchConfig.page_count || 3,
...(tabLabel ? { tabLabel } : {})
};
if (tabLabel) commandParams.tabLabel = tabLabel;
const searchCommand = {
command_type: 'get_job_list',