get_lang('dict_menu.status_on'),//展示 self::OFF => get_lang('dict_menu.status_off'),//隐藏 ]; } public const SYSTEM = 'system'; public const CREATE = 'create'; public const GENERATOR = 'generator'; public static function getSource(){ return [ self::SYSTEM => get_lang('dict_menu.source_system'),//系统文件 self::CREATE => get_lang('dict_menu.source_create'),//新建菜单 self::GENERATOR => get_lang('dict_menu.source_generator'),//代码生成器 ]; } }