1
This commit is contained in:
@@ -474,7 +474,7 @@ class TaskHandlers {
|
||||
for (const jobData of jobsToDeliver) {
|
||||
console.log(`[任务处理器] 准备投递职位: ${jobData.jobTitle} @ ${jobData.companyName}, 评分: ${jobData.matchScore}`, jobData.scoreDetails);
|
||||
deliverCommands.push({
|
||||
command_type: 'applyJob',
|
||||
command_type: 'deliver_resume', // 与MQTT Action保持一致
|
||||
command_name: `投递简历 - ${jobData.jobTitle} @ ${jobData.companyName} (评分:${jobData.matchScore})`,
|
||||
command_params: JSON.stringify({
|
||||
sn_code: sn_code,
|
||||
@@ -660,11 +660,11 @@ class TaskHandlers {
|
||||
sequence: 1
|
||||
};
|
||||
} else {
|
||||
// 使用多条件搜索指令
|
||||
// 使用多条件搜索指令(新的指令类型,使用新的MQTT action)
|
||||
searchCommand = {
|
||||
command_type: 'search_jobs_with_params',
|
||||
command_type: 'search_jobs_with_params', // 新的指令类型
|
||||
command_name: '多条件搜索职位列表',
|
||||
command_params: JSON.stringify(searchCommandParams),
|
||||
command_params: JSON.stringify(searchCommandParams), // 包含多条件参数
|
||||
priority: config.getTaskPriority('search_jobs_with_params') || 5,
|
||||
sequence: 1
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user