1
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user