get_lang('dict_schedule.type_cron'),//定时任务 self::CROND => get_lang('dict_schedule.type_crond'),//周期任务 ]; }//每周 /** * 任务启用状态 * @return array */ public static function getStatus() { return [ self::ON => get_lang('dict_schedule.on'),//启用 self::OFF => get_lang('dict_schedule.off'),//关闭 ]; }//每月 public static function getDateType() { return [ self::MIN => get_lang('dict_schedule.min'), self::HOUR => get_lang('dict_schedule.hour'), self::DAY => get_lang('dict_schedule.day'), self::WEEK => get_lang('dict_schedule.week'), self::MONTH => get_lang('dict_schedule.month'), ]; } }