1
This commit is contained in:
@@ -486,6 +486,23 @@ class PlaAccountService {
|
||||
finalParams.keyword = account.keyword;
|
||||
}
|
||||
|
||||
// get_job_list 从 resume_info 取 deliver_tab_label 作为 tabLabel 参数
|
||||
if (commandTypeSnake === 'get_job_list') {
|
||||
try {
|
||||
const resume_info = db.getModel('resume_info');
|
||||
const resume = await resume_info.findOne({
|
||||
where: { sn_code: account.sn_code, platform: account.platform_type, isActive: true },
|
||||
order: [['last_modify_time', 'DESC']],
|
||||
attributes: ['deliver_tab_label']
|
||||
});
|
||||
if (resume && resume.deliver_tab_label) {
|
||||
finalParams.tabLabel = String(resume.deliver_tab_label).trim();
|
||||
}
|
||||
} catch (e) {
|
||||
console.warn('[pla_account_service] 读取 resume_info.deliver_tab_label 失败:', e.message);
|
||||
}
|
||||
}
|
||||
|
||||
// 构建指令对象(与前端/后端/下发统一:只用一个名字 command_type)
|
||||
const command = {
|
||||
command_type: commandTypeSnake,
|
||||
|
||||
Reference in New Issue
Block a user