[ // 教练部门ID(用于自动人员分发) 'coach_department_id' => 24, // 模块配置:定义所有教研管理模块的类型和属性 'module_configs' => [ // 现有模块配置 'course_syllabus' => [ 'table_type' => 1, 'auto_distribute' => false, 'name' => '课程教学大纲', 'key' => 'course_syllabus', 'order' => 1 ], 'jump_lesson_library' => [ 'table_type' => 2, 'auto_distribute' => false, 'name' => '跳绳教案库', 'key' => 'jump_lesson_library', 'order' => 2 ], 'en_teaching_library' => [ 'table_type' => 3, 'auto_distribute' => false, 'name' => '增高教案库', 'key' => 'en_teaching_library', 'order' => 3 ], 'basketball_teaching_library' => [ 'table_type' => 4, 'auto_distribute' => false, 'name' => '篮球教案库', 'key' => 'basketball_teaching_library', 'order' => 4 ], 'strengthen_teaching_library' => [ 'table_type' => 5, 'auto_distribute' => false, 'name' => '强化教案库', 'key' => 'strengthen_teaching_library', 'order' => 5 ], 'ninja_teaching_library' => [ 'table_type' => 6, 'auto_distribute' => false, 'name' => '空中忍者教案库', 'key' => 'ninja_teaching_library', 'order' => 6 ], 'security_teaching_library' => [ 'table_type' => 7, 'auto_distribute' => false, 'name' => '少儿安防教案库', 'key' => 'security_teaching_library', 'order' => 7 ], 'physical_teaching_library' => [ 'table_type' => 8, 'auto_distribute' => false, 'name' => '体能教案库', 'key' => 'physical_teaching_library', 'order' => 8 ], // 新增模块配置(需要自动分发) 'instructional_material' => [ 'table_type' => 30, 'auto_distribute' => true, 'name' => '教学资料库', 'key' => 'instructional_material', 'order' => 9 ], 'future_content' => [ 'table_type' => 31, 'auto_distribute' => true, 'name' => '未来周内容训练', 'key' => 'future_content', 'order' => 10 ], 'professional_skills' => [ 'table_type' => 32, 'auto_distribute' => true, 'name' => '专业技能', 'key' => 'professional_skills', 'order' => 11 ], 'physical_testing' => [ 'table_type' => 33, 'auto_distribute' => true, 'name' => '睿莱体测', 'key' => 'physical_testing', 'order' => 12 ], 'children_like' => [ 'table_type' => 34, 'auto_distribute' => true, 'name' => '如何让孩子喜欢', 'key' => 'children_like', 'order' => 13 ] ], // 自动分发配置 'auto_distribute_config' => [ // 启用自动分发功能 'enabled' => true, // 分发失败时的处理策略 'on_failure' => 'log', // log: 仅记录日志, exception: 抛出异常, ignore: 忽略错误 // 权限字段分隔符 'permission_separator' => ',', // 人员姓名字段分隔符 'name_separator' => ',' ], // 定时任务配置 'cron_config' => [ // 人员同步任务配置 'sync_personnel' => [ 'enabled' => true, 'schedule' => '0 2 * * *', // 每天凌晨2点执行 'batch_size' => 100, // 批处理大小 'timeout' => 30, // 超时时间(秒) ] ] ] ];