This commit is contained in:
张成
2026-02-28 14:15:49 +08:00
parent 0483d6d023
commit e44ffba1ef
4 changed files with 79 additions and 16 deletions

View File

@@ -60,10 +60,11 @@ class ActiveHandler extends BaseHandler {
}
// 4. 创建活跃指令
const actionNameMap = { view_jobs: '浏览职位', browse_jobs: '浏览职位', refresh_resume: '刷新简历', check_notifications: '查看通知' };
const actions = activeStrategy.actions || ['view_jobs'];
const activeCommands = actions.map(action => ({
command_type: `active_${action}`,
command_name: `active_${action}`,
command_name: actionNameMap[action] || `活跃-${action}`,
command_params: JSON.stringify({
sn_code,
platform: platform || accountConfig.platform_type || 'boss',