控制台应用,yzncms本身基于tp5.1框架,里面的队列用不了,bug,坑
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

123456789101112131415
  1. CREATE TABLE IF NOT EXISTS `__PREFIX__command` (
  2. `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT 'ID',
  3. `type` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT '类型',
  4. `params` varchar(1500) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT '参数',
  5. `command` varchar(1500) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT '命令',
  6. `content` text COMMENT '返回结果',
  7. `execute_time` int(10) UNSIGNED DEFAULT NULL COMMENT '执行时间',
  8. `create_time` int(10) UNSIGNED DEFAULT NULL COMMENT '创建时间',
  9. `update_time` int(10) UNSIGNED DEFAULT NULL COMMENT '更新时间',
  10. `status` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '0失败,1正常',
  11. PRIMARY KEY (`id`) USING BTREE
  12. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_ci COMMENT='在线命令表';
  13. -- 1.1.0 --
  14. ALTER TABLE `__PREFIX__command` ENGINE = InnoDB;