lm_admin.sql 42 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475
  1. /*
  2. Navicat Premium Data Transfer
  3. Source Server : 阿里云
  4. Source Server Type : MySQL
  5. Source Server Version : 50728
  6. Source Host : rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com:3306
  7. Source Schema : any_anli
  8. Target Server Type : MySQL
  9. Target Server Version : 50728
  10. File Encoding : 65001
  11. Date: 02/06/2020 13:00:41
  12. */
  13. SET NAMES utf8mb4;
  14. SET FOREIGN_KEY_CHECKS = 0;
  15. -- ----------------------------
  16. -- Table structure for lm_admin
  17. -- ----------------------------
  18. DROP TABLE IF EXISTS `lm_admin`;
  19. CREATE TABLE `lm_admin` (
  20. `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '管理员ID',
  21. `username` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '管理员用户名',
  22. `password` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '管理员密码',
  23. `group_id` mediumint(8) NOT NULL COMMENT '分组ID',
  24. `email` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '邮箱',
  25. `realname` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '真实姓名',
  26. `mobile` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '电话号码',
  27. `ip` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'IP地址',
  28. `mdemail` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '传递修改密码参数加密',
  29. `status` tinyint(2) NOT NULL DEFAULT 1 COMMENT '审核状态',
  30. `avatar` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '头像',
  31. `create_time` int(11) NOT NULL COMMENT '添加时间',
  32. `update_time` int(11) NOT NULL COMMENT '更新时间',
  33. PRIMARY KEY (`id`) USING BTREE,
  34. INDEX `admin_username`(`username`) USING BTREE
  35. ) ENGINE = InnoDB AUTO_INCREMENT = 13 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '后台管理员' ROW_FORMAT = Compact;
  36. -- ----------------------------
  37. -- Records of lm_admin
  38. -- ----------------------------
  39. INSERT INTO `lm_admin` VALUES (1, 'admin', '$2y$12$Ak58w84WGSTMUYP5xwqACuo/skM/vX.GffuEDRt2dbeBPHdOqHeWC', 1, 'admin@admin.com', '😀😁😂😃😄😅😆😉😊😋', '10086', '127.0.0.1', '0', 1, '/storage/uploads/20200109\\c710700a3bb36d594ac98e792e4705b0.png', 1482132862, 1583136277);
  40. INSERT INTO `lm_admin` VALUES (12, 'anyluck', '$2y$12$SkjoA8vfD2dS2JeXtKBNme4aY3MEVwTueKBO2YFGpG69q6GX1Owty', 1, '', '', '13323821192', '', '0', 1, '', 1590638270, 1590638270);
  41. -- ----------------------------
  42. -- Table structure for lm_admin_log
  43. -- ----------------------------
  44. DROP TABLE IF EXISTS `lm_admin_log`;
  45. CREATE TABLE `lm_admin_log` (
  46. `id` bigint(16) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '表id',
  47. `admin_id` int(10) NULL DEFAULT NULL COMMENT '管理员id',
  48. `username` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  49. `log_url` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  50. `log_content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL,
  51. `log_title` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '日志描述',
  52. `log_agent` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  53. `log_ip` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'ip地址',
  54. `create_time` int(11) NULL DEFAULT NULL COMMENT '日志时间',
  55. `update_time` int(11) NULL DEFAULT NULL,
  56. `status` tinyint(1) NULL DEFAULT 1,
  57. PRIMARY KEY (`id`) USING BTREE,
  58. UNIQUE INDEX `id`(`id`) USING BTREE,
  59. INDEX `admin_id`(`admin_id`) USING BTREE
  60. ) ENGINE = InnoDB AUTO_INCREMENT = 14224 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Compact;
  61. -- ----------------------------
  62. -- Records of lm_admin_log
  63. -- ----------------------------
  64. INSERT INTO `lm_admin_log` VALUES (14204, 1, 'admin', '/admin/adminlog/adminuser.html', '点击菜单', '日志管理', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36', '127.0.0.1', 1590993441, 1590993441, 1);
  65. INSERT INTO `lm_admin_log` VALUES (14205, 1, 'admin', '/admin/system/configlist.html', '点击菜单', '配置列表', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36', '127.0.0.1', 1590993447, 1590993447, 1);
  66. INSERT INTO `lm_admin_log` VALUES (14206, 1, 'admin', '/admin/system/configlist.html', '点击菜单', '配置列表', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36', '127.0.0.1', 1590993448, 1590993448, 1);
  67. INSERT INTO `lm_admin_log` VALUES (14207, 1, 'admin', '/admin/system/configedit.html', '{\"id\":\"1\"}', '编辑配置', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36', '127.0.0.1', 1590993468, 1590993468, 1);
  68. INSERT INTO `lm_admin_log` VALUES (14208, 1, 'admin', '/admin/system/configedit.html', '{\"id\":\"1\",\"pid\":\"site\",\"code\":\"site_name\",\"value\":\"\\u5343\\u7ffc\\u5546\\u57ce\\u5b98\\u7f5122\",\"remark\":\"\\u7f51\\u7ad9\\u540d\\u79f0\"}', '编辑配置', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36', '127.0.0.1', 1590993472, 1590993472, 1);
  69. INSERT INTO `lm_admin_log` VALUES (14209, 1, 'admin', '/admin/system/configedit.html', '{\"id\":\"1\"}', '编辑配置', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36', '127.0.0.1', 1590993475, 1590993475, 1);
  70. INSERT INTO `lm_admin_log` VALUES (14210, 1, 'admin', '/admin/adminlog/adminuser.html', '点击菜单', '日志管理', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36', '127.0.0.1', 1590993489, 1590993489, 1);
  71. INSERT INTO `lm_admin_log` VALUES (14211, 1, 'admin', '/admin/system/configlist.html', '点击菜单', '配置列表', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36', '127.0.0.1', 1590993490, 1590993490, 1);
  72. INSERT INTO `lm_admin_log` VALUES (14212, 1, 'admin', '/admin/system/configlist.html', '点击菜单', '配置列表', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36', '127.0.0.1', 1590993492, 1590993492, 1);
  73. INSERT INTO `lm_admin_log` VALUES (14213, 1, 'admin', '/admin/database/restore.html', '点击菜单', '还原数据库', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36', '127.0.0.1', 1590993515, 1590993515, 1);
  74. INSERT INTO `lm_admin_log` VALUES (14214, 1, 'admin', '/admin/database/restore.html', '点击菜单', '还原数据库', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36', '127.0.0.1', 1590993515, 1590993515, 1);
  75. INSERT INTO `lm_admin_log` VALUES (14215, 1, 'admin', '/admin/database/adminuser.html', '点击菜单', '数据库列表', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36', '127.0.0.1', 1590993518, 1590993518, 1);
  76. INSERT INTO `lm_admin_log` VALUES (14216, 1, 'admin', '/admin/database/adminuser.html', '点击菜单', '数据库列表', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36', '127.0.0.1', 1590993519, 1590993519, 1);
  77. INSERT INTO `lm_admin_log` VALUES (14217, 1, 'admin', '/admin/auth/adminrule.html', '点击菜单', '权限列表', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36', '127.0.0.1', 1590993527, 1590993527, 1);
  78. INSERT INTO `lm_admin_log` VALUES (14218, 1, 'admin', '/admin/auth/adminrule.html', '点击菜单', '权限列表', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36', '127.0.0.1', 1590993527, 1590993527, 1);
  79. INSERT INTO `lm_admin_log` VALUES (14219, 1, 'admin', '/admin/auth/group.html', '点击菜单', '权限组', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36', '127.0.0.1', 1590993530, 1590993530, 1);
  80. INSERT INTO `lm_admin_log` VALUES (14220, 1, 'admin', '/admin/auth/group.html', '点击菜单', '权限组', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36', '127.0.0.1', 1590993531, 1590993531, 1);
  81. INSERT INTO `lm_admin_log` VALUES (14221, 1, 'admin', '/admin/auth/adminlist.html', '点击菜单', '管理员列表', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36', '127.0.0.1', 1590993533, 1590993533, 1);
  82. INSERT INTO `lm_admin_log` VALUES (14222, 1, 'admin', '/admin/auth/adminlist.html', '点击菜单', '管理员列表', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36', '127.0.0.1', 1590993533, 1590993533, 1);
  83. INSERT INTO `lm_admin_log` VALUES (14223, 1, 'admin', '/admin/adminlog/adminuser.html', '点击菜单', '日志管理', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36', '127.0.0.1', 1590995934, 1590995934, 1);
  84. -- ----------------------------
  85. -- Table structure for lm_auth_group
  86. -- ----------------------------
  87. DROP TABLE IF EXISTS `lm_auth_group`;
  88. CREATE TABLE `lm_auth_group` (
  89. `id` smallint(8) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '分组id',
  90. `title` char(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '标题',
  91. `status` tinyint(1) NULL DEFAULT 0 COMMENT '状态',
  92. `rules` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '规则',
  93. `create_time` int(11) NULL DEFAULT NULL COMMENT '添加时间',
  94. `update_time` int(11) NULL DEFAULT NULL,
  95. PRIMARY KEY (`id`) USING BTREE,
  96. UNIQUE INDEX `id`(`id`) USING BTREE,
  97. UNIQUE INDEX `title`(`title`) USING BTREE
  98. ) ENGINE = InnoDB AUTO_INCREMENT = 6 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '管理员分组' ROW_FORMAT = Compact;
  99. -- ----------------------------
  100. -- Records of lm_auth_group
  101. -- ----------------------------
  102. INSERT INTO `lm_auth_group` VALUES (1, '管理权限', 1, '155,173,174,156,169,170,172,157,176,158,177,159,178,179,180,161,181,182,183,162,184,185,163,164,166,167,168,165,1,2,20,21,40,34,39,148,149,150,151,152,153,154,73,3,4,5,9,10,11,12,22,13,6,7,8,14,15,16,17,18,19,26,27,28,29,30,31,32,33,35,36,37,38,', 1465114224, 1579664405);
  103. -- ----------------------------
  104. -- Table structure for lm_auth_rule
  105. -- ----------------------------
  106. DROP TABLE IF EXISTS `lm_auth_rule`;
  107. CREATE TABLE `lm_auth_rule` (
  108. `id` mediumint(8) UNSIGNED NOT NULL AUTO_INCREMENT,
  109. `href` char(80) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '链接',
  110. `title` char(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '',
  111. `type` tinyint(1) NOT NULL DEFAULT 1 COMMENT '类型',
  112. `status` tinyint(1) NOT NULL DEFAULT 1 COMMENT '状态1 可以用,0 所有禁止使用',
  113. `auth_open` tinyint(2) NOT NULL DEFAULT 0 COMMENT '1公开 0不公开',
  114. `menu_status` tinyint(1) NULL DEFAULT 0 COMMENT '0 不显示,1 显示',
  115. `icon` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '图标样式',
  116. `condition` char(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '条件',
  117. `pid` int(5) NOT NULL DEFAULT 0 COMMENT '父栏目ID',
  118. `sort` int(11) NULL DEFAULT 0 COMMENT '排序',
  119. `create_time` int(11) NOT NULL DEFAULT 0 COMMENT '添加时间',
  120. `update_time` int(11) NULL DEFAULT NULL,
  121. PRIMARY KEY (`id`) USING BTREE,
  122. UNIQUE INDEX `id`(`id`) USING BTREE,
  123. INDEX `href`(`href`) USING BTREE
  124. ) ENGINE = InnoDB AUTO_INCREMENT = 208 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '权限节点' ROW_FORMAT = Compact;
  125. -- ----------------------------
  126. -- Records of lm_auth_rule
  127. -- ----------------------------
  128. INSERT INTO `lm_auth_rule` VALUES (1, 'System', '系统', 1, 1, 0, 1, 'fa fa-home', '', 0, 58, 1446535750, 1571966892);
  129. INSERT INTO `lm_auth_rule` VALUES (2, 'System', '系统设置', 1, 1, 0, 1, 'fa fa-gears', '', 1, 0, 1446535789, 1571882291);
  130. INSERT INTO `lm_auth_rule` VALUES (3, 'Database', '数据库管理', 1, 1, 0, 1, 'fa fa-database', '', 1, 0, 1446535805, 0);
  131. INSERT INTO `lm_auth_rule` VALUES (4, 'Database/restore', '还原数据库', 2, 1, 0, 1, 'fa fa-database', '', 3, 0, 1446535750, 0);
  132. INSERT INTO `lm_auth_rule` VALUES (5, 'Database/backup', '数据库备份', 2, 1, 0, 0, 'fa fa-database', '', 3, 0, 1446535834, 0);
  133. INSERT INTO `lm_auth_rule` VALUES (6, 'Auth', '权限管理', 1, 1, 0, 1, 'fa fa-cog', '', 1, 0, 0, 0);
  134. INSERT INTO `lm_auth_rule` VALUES (7, 'Auth/adminRule', '权限列表', 1, 1, 0, 1, 'fa fa-cog', '', 6, 0, 0, 0);
  135. INSERT INTO `lm_auth_rule` VALUES (8, 'Auth/ruleEdit', '权限编辑', 2, 1, 0, 0, 'fa fa-cog', '', 7, 0, 0, 0);
  136. INSERT INTO `lm_auth_rule` VALUES (9, 'Database/repair', '数据库修复', 2, 1, 0, 0, '', '', 3, 0, 0, 0);
  137. INSERT INTO `lm_auth_rule` VALUES (10, 'Database/import', '数据还原', 2, 1, 0, 0, '', '', 3, 0, 0, 0);
  138. INSERT INTO `lm_auth_rule` VALUES (11, 'Database/downFile', '数据下载', 2, 1, 0, 0, '', '', 3, 0, 0, 0);
  139. INSERT INTO `lm_auth_rule` VALUES (12, 'Database/delSqlFiles', '删除数据库', 2, 1, 0, 0, '', '', 3, 0, 0, 0);
  140. INSERT INTO `lm_auth_rule` VALUES (13, 'Database/index', '数据库列表', 1, 1, 0, 1, 'fa fa-database', '', 3, 1, 0, 0);
  141. INSERT INTO `lm_auth_rule` VALUES (14, 'Auth/ruleState', '菜单显示或者隐藏', 2, 1, 0, 0, '', '', 7, 0, 0, 0);
  142. INSERT INTO `lm_auth_rule` VALUES (15, 'Auth/ruleOpen', '权限是否验证', 2, 1, 0, 0, '', '', 7, 0, 0, 0);
  143. INSERT INTO `lm_auth_rule` VALUES (16, 'Auth/ruleSort', '权限排序', 2, 1, 0, 0, '', '', 7, 0, 0, 0);
  144. INSERT INTO `lm_auth_rule` VALUES (17, 'Auth/ruleDel', '权限删除', 2, 1, 0, 0, '', '', 7, 0, 0, 0);
  145. INSERT INTO `lm_auth_rule` VALUES (18, 'Auth/ruleSelectDel', '权限批量删除', 2, 1, 0, 0, '', '', 7, 0, 0, 0);
  146. INSERT INTO `lm_auth_rule` VALUES (19, 'Auth/ruleAdd', '权限增加', 2, 1, 0, 0, '', '', 7, 0, 0, 0);
  147. INSERT INTO `lm_auth_rule` VALUES (20, 'System/index', '站点设置', 1, 1, 0, 1, 'fa fa-gears', '', 2, 0, 0, 1567228601);
  148. INSERT INTO `lm_auth_rule` VALUES (21, 'Adminlog/index', '日志管理', 1, 1, 0, 1, 'fa fa-life-ring', '', 2, 0, 0, 1566007925);
  149. INSERT INTO `lm_auth_rule` VALUES (22, 'Database/optimize', '数据库优化', 1, 1, 0, 0, '', '', 3, 0, 0, 0);
  150. INSERT INTO `lm_auth_rule` VALUES (26, 'Auth/group', '权限组', 1, 1, 0, 1, 'fa fa-globe', '', 6, 0, 0, 0);
  151. INSERT INTO `lm_auth_rule` VALUES (27, 'Auth/groupDel', '用户组删除', 1, 1, 0, 0, '', '', 26, 0, 0, 0);
  152. INSERT INTO `lm_auth_rule` VALUES (28, 'Auth/groupAdd', '用户组添加', 1, 1, 0, 0, '', '', 26, 0, 0, 0);
  153. INSERT INTO `lm_auth_rule` VALUES (29, 'Auth/groupEdit', '用户组修改', 1, 1, 0, 0, '', '', 26, 0, 0, 0);
  154. INSERT INTO `lm_auth_rule` VALUES (30, 'Auth/groupState', '用户组状态修改', 1, 1, 0, 0, '', '', 26, 0, 0, 0);
  155. INSERT INTO `lm_auth_rule` VALUES (31, 'Auth/groupSelectDel', '用户组批量删除', 1, 1, 0, 0, '', '', 26, 0, 0, 0);
  156. INSERT INTO `lm_auth_rule` VALUES (32, 'Auth/groupAccess', '用户组显示权限', 1, 1, 0, 0, '', '', 26, 0, 0, 0);
  157. INSERT INTO `lm_auth_rule` VALUES (33, 'Auth/groupSetaccess', '用户组保存权限', 1, 1, 0, 0, '', '', 26, 0, 0, 0);
  158. INSERT INTO `lm_auth_rule` VALUES (34, 'Uploads/uploads', '上传文件', 1, 1, 0, 0, 'fa fa-adjust', '', 2, 0, 0, 1571966280);
  159. INSERT INTO `lm_auth_rule` VALUES (35, 'Auth/adminList', '管理员列表', 1, 1, 0, 1, 'fa fa-user-circle', '', 6, 0, 1, 0);
  160. INSERT INTO `lm_auth_rule` VALUES (36, 'Auth/adminAdd', '添加管理员', 1, 1, 0, 0, '', '', 35, 0, 0, 0);
  161. INSERT INTO `lm_auth_rule` VALUES (37, 'Auth/adminDel', '删除管理员', 1, 1, 0, 0, '', '', 35, 0, 0, 0);
  162. INSERT INTO `lm_auth_rule` VALUES (38, 'Auth/adminState', '管理员状态', 1, 1, 0, 0, '', '', 35, 0, 0, 0);
  163. INSERT INTO `lm_auth_rule` VALUES (39, 'Index/password', '修改密码', 1, 1, 0, 0, '', '', 2, 0, 0, 0);
  164. INSERT INTO `lm_auth_rule` VALUES (40, 'Adminlog/delete', '删除日志', 1, 1, 0, 0, '', '', 21, 0, 0, 0);
  165. INSERT INTO `lm_auth_rule` VALUES (148, 'System/configlist', '配置列表', 1, 1, 0, 1, 'fa fa-align-justify', '', 2, 0, 0, NULL);
  166. INSERT INTO `lm_auth_rule` VALUES (149, 'System/configAdd', '添加配置', 1, 1, 0, 0, NULL, '', 148, 0, 0, NULL);
  167. INSERT INTO `lm_auth_rule` VALUES (150, 'System/configEdit', '编辑配置', 1, 1, 0, 0, NULL, '', 148, 0, 0, NULL);
  168. INSERT INTO `lm_auth_rule` VALUES (151, 'System/configDel', '删除配置', 1, 1, 0, 0, NULL, '', 148, 0, 0, NULL);
  169. INSERT INTO `lm_auth_rule` VALUES (152, 'System/configState', '配置状态', 1, 1, 0, 0, NULL, '', 148, 0, 0, NULL);
  170. INSERT INTO `lm_auth_rule` VALUES (153, 'System/configGroupAdd', '配置组添加', 1, 1, 0, 0, NULL, '', 148, 0, 0, NULL);
  171. INSERT INTO `lm_auth_rule` VALUES (154, 'System/configGroupDel', '配置组删除', 1, 1, 0, 0, NULL, '', 148, 0, 0, NULL);
  172. -- ----------------------------
  173. -- Table structure for lm_banner
  174. -- ----------------------------
  175. DROP TABLE IF EXISTS `lm_banner`;
  176. CREATE TABLE `lm_banner` (
  177. `id` int(11) NOT NULL AUTO_INCREMENT,
  178. `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '名称',
  179. `image` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '图片地址',
  180. `url` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '链接地址',
  181. `status` int(1) NOT NULL DEFAULT 0 COMMENT '0 显示 1 不显示',
  182. `pai` int(11) NOT NULL DEFAULT 0 COMMENT '排序',
  183. PRIMARY KEY (`id`) USING BTREE
  184. ) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '轮播图' ROW_FORMAT = Dynamic;
  185. -- ----------------------------
  186. -- Records of lm_banner
  187. -- ----------------------------
  188. INSERT INTO `lm_banner` VALUES (1, '国寿少儿2', 'http://quyum.oss-cn-huhehaote.aliyuncs.com/guanwang/0008de7a746db7b41de523ef259f05f427e3d805.png', 'xcx.sdsxxkn.com2', 0, 2);
  189. -- ----------------------------
  190. -- Table structure for lm_config
  191. -- ----------------------------
  192. DROP TABLE IF EXISTS `lm_config`;
  193. CREATE TABLE `lm_config` (
  194. `id` smallint(5) NOT NULL AUTO_INCREMENT,
  195. `code` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  196. `value` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL,
  197. `remark` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '解释,备注',
  198. `type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT 'site',
  199. `status` tinyint(1) NULL DEFAULT 1,
  200. `create_time` int(11) NULL DEFAULT NULL,
  201. `update_time` int(11) NULL DEFAULT NULL,
  202. PRIMARY KEY (`id`) USING BTREE,
  203. UNIQUE INDEX `id`(`id`) USING BTREE,
  204. UNIQUE INDEX `code`(`code`) USING BTREE
  205. ) ENGINE = InnoDB AUTO_INCREMENT = 58 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '配置参数表' ROW_FORMAT = Compact;
  206. -- ----------------------------
  207. -- Records of lm_config
  208. -- ----------------------------
  209. INSERT INTO `lm_config` VALUES (1, 'site_name', '千翼商城官网', '网站名称', 'site', 1, 0, 1590993472);
  210. INSERT INTO `lm_config` VALUES (2, 'site_phone', '3', '网站客服服务电话', 'site', 0, 0, 1579406816);
  211. INSERT INTO `lm_config` VALUES (3, 'site_state', '1', '状态', 'site', 1, 0, 0);
  212. INSERT INTO `lm_config` VALUES (4, 'site_logo', '/storage/uploads/20200529/ad110b5e57ac537529fe3c2a2bf8cdfc.png', '网站logo图', 'site', 1, 0, 0);
  213. INSERT INTO `lm_config` VALUES (5, 'site_mobile_logo', 'site_mobile_logo.png', '默认网站手机端logo', 'site', 0, 0, 1579406806);
  214. INSERT INTO `lm_config` VALUES (6, 'site_logowx', 'site_logowx.jpg', '微信网站二维码', 'site', 0, 0, 1579406800);
  215. INSERT INTO `lm_config` VALUES (7, 'site_icp', '2', 'ICP备案号', 'site', 1, 0, 0);
  216. INSERT INTO `lm_config` VALUES (8, 'site_tel400', '40002541852', '解释,备注', 'site', 1, 0, 0);
  217. INSERT INTO `lm_config` VALUES (9, 'site_email', 'www.794230322@outlook.com', '电子邮件', 'site', 1, 0, 0);
  218. INSERT INTO `lm_config` VALUES (10, 'site_copyright', '千翼科技版权所有@2019', '底部版权信息', 'site', 1, 0, 0);
  219. INSERT INTO `lm_config` VALUES (11, 'captcha_status_login', '1', '会员登录是否需要验证码', 'site', 1, 0, 0);
  220. INSERT INTO `lm_config` VALUES (12, 'captcha_status_register', '1', '会员注册是否验证码', 'site', 1, 0, 0);
  221. INSERT INTO `lm_config` VALUES (14, 'sms_appid', 'LTAIesI7qxnHLgKE', '短信平台账号', 'sms', 1, 0, 0);
  222. INSERT INTO `lm_config` VALUES (15, 'sms_secret', 'sbA6wnefJLD7pv7WipcxL0M3IMb3l9', '短信平台密钥', 'sms', 1, 0, 0);
  223. INSERT INTO `lm_config` VALUES (16, 'email_host', 'smtp.qq.com', '邮箱地址', 'email', 0, 0, 1579406788);
  224. INSERT INTO `lm_config` VALUES (17, 'email_port', '25', '邮箱端口', 'email', 0, 0, 1579406821);
  225. INSERT INTO `lm_config` VALUES (18, 'email_addr', '994927909@qq.com', '邮箱发件人地址', 'email', 0, 0, 1579406822);
  226. INSERT INTO `lm_config` VALUES (19, 'email_id', '994927909@qq.com', '身份验证用户名', 'email', 0, 0, 1579406824);
  227. INSERT INTO `lm_config` VALUES (20, 'email_pass', '11211', '用户名密码', 'email', 0, 0, 1579406828);
  228. INSERT INTO `lm_config` VALUES (21, 'email_secure', 'smtp', '邮箱发送协议', 'email', 0, 0, 1579406829);
  229. INSERT INTO `lm_config` VALUES (22, 'upload_file_type', 'bmp|png|gif|jpg|jpeg|zip|rar|txt|ppt|xls|doc|mp3|mp4', '图片上传保存方式', 'upload', 1, 0, 0);
  230. INSERT INTO `lm_config` VALUES (23, 'cache_open', '0', '是否开启缓存', 'site', 0, 0, 1579406834);
  231. INSERT INTO `lm_config` VALUES (24, 'alioss_accessid', '', 'accessid', 'oss', 0, 0, 1579406846);
  232. INSERT INTO `lm_config` VALUES (25, 'alioss_accesssecret', '', 'oss_accesssecret', 'oss', 0, 0, 1579406843);
  233. INSERT INTO `lm_config` VALUES (26, 'alioss_bucket', '', 'oss_bucket', 'oss', 0, 0, 1579406841);
  234. INSERT INTO `lm_config` VALUES (27, 'alioss_endpoint', '', 'oss_endpoint', 'oss', 0, 0, 1579406846);
  235. INSERT INTO `lm_config` VALUES (28, 'aliendpoint_type', '0', 'aliendpoint_type', 'oss', 0, 0, 1579406848);
  236. INSERT INTO `lm_config` VALUES (29, 'node_site_url', '', '站内IM服务器地址', 'im', 0, 0, 1579406849);
  237. INSERT INTO `lm_config` VALUES (30, 'node_site_use', '0', '是否启用im', 'im', 0, 0, 1579406851);
  238. INSERT INTO `lm_config` VALUES (31, 'qq_isuse', '1', '是否使用QQ互联', 'qq', 0, 0, 1579406852);
  239. INSERT INTO `lm_config` VALUES (32, 'qq_appid', '', 'qq互联id', 'qq', 0, 0, 1579406856);
  240. INSERT INTO `lm_config` VALUES (33, 'qq_appkey', '', 'qq秘钥', 'qq', 0, 0, 1579406857);
  241. INSERT INTO `lm_config` VALUES (34, 'sina_isuse', '1', '是的使用微博登录', 'sina', 0, 0, 1579406858);
  242. INSERT INTO `lm_config` VALUES (35, 'sina_wb_akey', '', '新浪id', 'sina', 0, 0, 1579406859);
  243. INSERT INTO `lm_config` VALUES (36, 'sina_wb_skey', '', '新浪秘钥', 'sina', 0, 0, 1579406860);
  244. INSERT INTO `lm_config` VALUES (37, 'sms_register', '0', '是否手机注册', 'mobile', 0, 0, 1579406861);
  245. INSERT INTO `lm_config` VALUES (38, 'sms_login', '0', '是否手机登录', 'mobile', 0, 0, 1579406869);
  246. INSERT INTO `lm_config` VALUES (39, 'sms_password', '0', '是否手机找回密码', 'mobile', 0, 0, 1579406872);
  247. INSERT INTO `lm_config` VALUES (43, 'baidu_ak', '22bb7221fc279a484895afcc6a0bb33a', '百度地图AK密钥', 'baidu', 0, 0, 1579406873);
  248. INSERT INTO `lm_config` VALUES (44, 'site_licence', '', '营业执照', 'site', 0, 0, 1579406874);
  249. INSERT INTO `lm_config` VALUES (45, 'site_domain', 'https://www.quyum.com', '网站地址', 'site', 0, 0, 1579406875);
  250. INSERT INTO `lm_config` VALUES (46, 'upload_file_max', '2048', '最大文件上传大小', 'upload', 1, 0, 0);
  251. INSERT INTO `lm_config` VALUES (47, 'site_seo_title', '内容管理系统', '首页标题', 'site', 0, 0, 1579406877);
  252. INSERT INTO `lm_config` VALUES (48, 'site_seo_keywords', '小程序,管理系统,thinkphp6', '首页关键词', 'site', 0, 0, 1579406880);
  253. INSERT INTO `lm_config` VALUES (49, 'site_seo_desc', '', '首页描述', 'site', 0, 0, 1579406881);
  254. INSERT INTO `lm_config` VALUES (50, 'upload_water', '1', '水印开始关闭', 'upload', 0, 0, 1579406891);
  255. INSERT INTO `lm_config` VALUES (51, 'upload_water_position', '', '水印位置', 'upload', 0, 0, 1579406890);
  256. INSERT INTO `lm_config` VALUES (52, 'sms_product', 'lemocms', '产品', 'sms', 0, 0, 1579406888);
  257. INSERT INTO `lm_config` VALUES (53, 'sms_template', 'SMS_158941284', '模板id', 'sms', 0, 0, 1579406886);
  258. INSERT INTO `lm_config` VALUES (54, 'appid', 'wx4025e13383042216', '微信appid', 'weixin', 0, 0, 1579406886);
  259. INSERT INTO `lm_config` VALUES (55, 'appsecret', 'cde471d1aca9ee5e93bd250a96aee5a9', '微信密钥', 'weixin', 0, NULL, NULL);
  260. INSERT INTO `lm_config` VALUES (56, 'access_token', NULL, '微信密钥', 'weixin', 1, NULL, NULL);
  261. INSERT INTO `lm_config` VALUES (57, 'expires_in', NULL, '微信密钥时间', 'weixin', 1, NULL, NULL);
  262. -- ----------------------------
  263. -- Table structure for lm_config_group
  264. -- ----------------------------
  265. DROP TABLE IF EXISTS `lm_config_group`;
  266. CREATE TABLE `lm_config_group` (
  267. `id` int(11) NOT NULL AUTO_INCREMENT,
  268. `name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  269. `title` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  270. PRIMARY KEY (`id`) USING BTREE
  271. ) ENGINE = InnoDB AUTO_INCREMENT = 11 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Compact;
  272. -- ----------------------------
  273. -- Records of lm_config_group
  274. -- ----------------------------
  275. INSERT INTO `lm_config_group` VALUES (1, 'site', '网站');
  276. INSERT INTO `lm_config_group` VALUES (2, 'qq', 'qq');
  277. INSERT INTO `lm_config_group` VALUES (3, 'sms', '短信');
  278. INSERT INTO `lm_config_group` VALUES (4, 'email', '邮箱');
  279. INSERT INTO `lm_config_group` VALUES (5, 'oss', 'oss');
  280. INSERT INTO `lm_config_group` VALUES (6, 'sina', '新浪');
  281. INSERT INTO `lm_config_group` VALUES (7, 'im', 'im');
  282. INSERT INTO `lm_config_group` VALUES (8, 'upload', '上传');
  283. INSERT INTO `lm_config_group` VALUES (9, 'mobile', '手机');
  284. INSERT INTO `lm_config_group` VALUES (10, '百度', '百度配置');
  285. -- ----------------------------
  286. -- Table structure for lm_field
  287. -- ----------------------------
  288. DROP TABLE IF EXISTS `lm_field`;
  289. CREATE TABLE `lm_field` (
  290. `id` smallint(5) UNSIGNED NOT NULL AUTO_INCREMENT,
  291. `moduleid` float UNSIGNED NOT NULL DEFAULT 0 COMMENT '模型id',
  292. `field` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '字段',
  293. `name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '名字',
  294. `required` tinyint(1) UNSIGNED NOT NULL DEFAULT 0 COMMENT '是否必须',
  295. `minlength` int(10) UNSIGNED NOT NULL DEFAULT 0 COMMENT '最少长度',
  296. `maxlength` int(10) UNSIGNED NOT NULL DEFAULT 0 COMMENT '最大长度',
  297. `rule` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '规则',
  298. `msg` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '错误提示',
  299. `type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '字段类型',
  300. `is_search` tinyint(1) NULL DEFAULT 0 COMMENT '是否可以搜索 0 不可以,1 搜索',
  301. `value` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  302. `field_define` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  303. `option` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '默认值',
  304. `sort` int(10) UNSIGNED NOT NULL DEFAULT 0,
  305. `status` tinyint(1) UNSIGNED NOT NULL DEFAULT 0,
  306. `create_time` int(11) NOT NULL DEFAULT 0,
  307. `update_time` int(11) NOT NULL DEFAULT 0,
  308. PRIMARY KEY (`id`) USING BTREE
  309. ) ENGINE = InnoDB AUTO_INCREMENT = 94 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Compact;
  310. -- ----------------------------
  311. -- Records of lm_field
  312. -- ----------------------------
  313. INSERT INTO `lm_field` VALUES (31, 32, 'column_id', '栏目', 1, 0, 6, '', '必须选择一个栏目', 'column_id', 0, '', NULL, '', 1, 1, 1571732224, 0);
  314. INSERT INTO `lm_field` VALUES (32, 32, 'title', '标题', 1, 0, 80, '', '标题必须为1-80个字符', 'text', 0, '', NULL, '', 2, 1, 1571732224, 0);
  315. INSERT INTO `lm_field` VALUES (33, 32, 'keywords', '关键词', 1, 0, 200, '', '关键词必须在0-200个内', 'text', 0, '', NULL, '', 3, 1, 1571732224, 0);
  316. INSERT INTO `lm_field` VALUES (34, 32, 'description', 'SEO简介', 1, 0, 0, '', '', 'textarea', 0, '', NULL, '', 4, 1, 1571732224, 0);
  317. INSERT INTO `lm_field` VALUES (35, 32, 'content', '内容', 0, 0, 255, '', '', 'editor', 0, 'ueditor', NULL, '0|ueditor', 5, 1, 1571732224, 0);
  318. INSERT INTO `lm_field` VALUES (36, 32, 'create_time', '创建时间', 1, 0, 11, '', '', 'datetime', 0, '', NULL, '', 6, 1, 1571732224, 0);
  319. INSERT INTO `lm_field` VALUES (37, 32, 'update_time', '更新时间', 1, 0, 11, '', '', 'datetime', 0, '', NULL, '', 6, 1, 1571732224, 0);
  320. INSERT INTO `lm_field` VALUES (38, 32, 'status', '状态', 1, 0, 1, '', '', 'radio', 0, '1', NULL, '0|未发布,1|发布', 7, 1, 1571732224, 0);
  321. INSERT INTO `lm_field` VALUES (39, 32, 'recommend', '允许评论', 0, 0, 1, '', '', 'radio', 0, '1', NULL, '0|禁止评论,1|允许评论', 8, 1, 1571732224, 0);
  322. INSERT INTO `lm_field` VALUES (40, 32, 'readpoint', '阅读收费', 0, 0, 5, '', '', 'number', 0, '0', NULL, '', 9, 1, 1571732224, 0);
  323. INSERT INTO `lm_field` VALUES (41, 32, 'is_read', '是否可阅读', 0, 0, 1, '', '', 'radio', 0, '1', NULL, '0|禁止,1|允许', 9, 1, 1571732224, 0);
  324. INSERT INTO `lm_field` VALUES (42, 32, 'hits', '点击次数', 0, 0, 8, '', '', 'number', 0, '1', NULL, '', 10, 1, 1571732224, 0);
  325. INSERT INTO `lm_field` VALUES (43, 32, 'visite', '访问权限', 0, 0, 1, '', '', 'radio', 0, '1', NULL, '0|开启,1|关闭', 11, 1, 1571732224, 0);
  326. INSERT INTO `lm_field` VALUES (44, 32, 'posid', '推荐位', 0, 0, 1, '', '', 'posid', 0, '', NULL, '', 12, 12, 1571732224, 0);
  327. INSERT INTO `lm_field` VALUES (45, 32, 'tags', '标签', 0, 0, 255, '', '', 'text', 0, '', NULL, '', 14, 1, 1571732224, 0);
  328. INSERT INTO `lm_field` VALUES (46, 2, 'column_id', '栏目', 1, 1, 6, '', '必须选择一个栏目', 'column_id', 0, '', NULL, '', 1, 1, 1571884340, 0);
  329. INSERT INTO `lm_field` VALUES (47, 2, 'title', '标题', 1, 1, 80, '', '标题必须为1-80个字符', 'text', 0, '', NULL, '', 2, 1, 1571884340, 0);
  330. INSERT INTO `lm_field` VALUES (48, 2, 'keywords', '关键词', 1, 0, 200, '', '关键词必须在0-200个内', 'text', 0, '', NULL, '', 3, 1, 1571884340, 0);
  331. INSERT INTO `lm_field` VALUES (49, 2, 'description', 'SEO简介', 1, 0, 0, '', '', 'textarea', 0, '', NULL, '', 4, 1, 1571884340, 0);
  332. INSERT INTO `lm_field` VALUES (50, 2, 'content', '内容', 0, 0, 0, '', '', 'editor', 0, 'ueditor', NULL, '0|ueditor', 5, 1, 1571884340, 0);
  333. INSERT INTO `lm_field` VALUES (51, 2, 'create_time', '创建时间', 1, 0, 0, '', '', 'datetime', 0, '', NULL, '', 61, 1, 1571884340, 1571884945);
  334. INSERT INTO `lm_field` VALUES (52, 2, 'update_time', '更新时间', 1, 0, 0, '', '', 'datetime', 0, '', NULL, '', 6, 1, 1571884340, 0);
  335. INSERT INTO `lm_field` VALUES (53, 2, 'status', '状态', 1, 0, 0, '', '', 'radio', 0, '1', NULL, '0|未发布,1|发布', 7, 1, 1571884340, 0);
  336. INSERT INTO `lm_field` VALUES (54, 2, 'recommend', '允许评论', 0, 0, 1, '', '', 'radio', 0, '1', NULL, '0|禁止评论,1|允许评论', 8, 1, 1571884340, 0);
  337. INSERT INTO `lm_field` VALUES (55, 2, 'readpoint', '阅读收费', 0, 0, 5, '', '', 'number', 0, '0', NULL, '', 9, 1, 1571884340, 0);
  338. INSERT INTO `lm_field` VALUES (56, 2, 'is_read', '是否可阅读', 0, 0, 5, '', '', 'radio', 0, '1', NULL, '0|禁止,1|允许', 9, 1, 1571884340, 0);
  339. INSERT INTO `lm_field` VALUES (57, 2, 'hits', '点击次数', 0, 0, 8, '', '', 'number', 0, '1', NULL, '', 10, 1, 1571884340, 0);
  340. INSERT INTO `lm_field` VALUES (58, 2, 'visite', '访问权限', 0, 0, 0, '', '', 'radio', 0, '1', NULL, '0|开启,1|关闭', 11, 1, 1571884340, 0);
  341. INSERT INTO `lm_field` VALUES (59, 2, 'posid', '推荐位', 0, 0, 0, '', '', 'posid', 0, '', NULL, '', 12, 12, 1571884340, 0);
  342. INSERT INTO `lm_field` VALUES (60, 3, 'column_id', '栏目', 1, 0, 6, '', '必须选择一个栏目', 'column_id', 0, '', NULL, '', 1, 1, 1572145912, 0);
  343. INSERT INTO `lm_field` VALUES (61, 3, 'title', '标题', 1, 0, 180, '', '标题必须为1-180个字符', 'text', 0, '', NULL, '', 2, 1, 1572145912, 0);
  344. INSERT INTO `lm_field` VALUES (62, 3, 'keywords', '关键词', 1, 0, 80, '', '', 'text', 0, '', NULL, '', 3, 1, 1572145912, 0);
  345. INSERT INTO `lm_field` VALUES (63, 3, 'description', 'SEO简介', 1, 0, 0, '', '', 'textarea', 0, '', NULL, '', 4, 1, 1572145912, 0);
  346. INSERT INTO `lm_field` VALUES (64, 3, 'tags', '标签', 0, 0, 0, '', '', 'text', 0, '', NULL, '', 5, 1, 1, 0);
  347. INSERT INTO `lm_field` VALUES (65, 3, 'content', '内容', 0, 0, 0, '', '', 'editor', 0, 'ueditor', NULL, '0|ueditor', 6, 1, 1572145912, 0);
  348. INSERT INTO `lm_field` VALUES (78, 6, 'column_id', '栏目', 1, 0, 6, '', '必须选择一个栏目', 'column_id', 0, '', NULL, '', 1, 1, 1572870621, 0);
  349. INSERT INTO `lm_field` VALUES (79, 6, 'title', '标题', 1, 0, 80, '', '标题必须为1-80个字符', 'text', 0, '', NULL, '', 2, 1, 1572870621, 0);
  350. INSERT INTO `lm_field` VALUES (80, 6, 'keywords', '关键词', 1, 0, 200, '', '关键词必须在0-200个内', 'text', 0, '', NULL, '', 3, 1, 1572870621, 0);
  351. INSERT INTO `lm_field` VALUES (81, 6, 'description', 'SEO简介', 1, 0, 0, '', '', 'textarea', 0, '', NULL, '', 4, 1, 1572870621, 0);
  352. INSERT INTO `lm_field` VALUES (82, 6, 'content', '内容', 0, 0, 255, '', '', 'editor', 0, 'ueditor', NULL, '0|ueditor', 5, 1, 1572870621, 0);
  353. INSERT INTO `lm_field` VALUES (83, 6, 'create_time', '创建时间', 1, 0, 11, '', '', 'datetime', 0, '', NULL, '', 6, 1, 1572870621, 0);
  354. INSERT INTO `lm_field` VALUES (84, 6, 'update_time', '更新时间', 1, 0, 11, '', '', 'datetime', 0, '', NULL, '', 6, 1, 1572870621, 0);
  355. INSERT INTO `lm_field` VALUES (85, 6, 'status', '状态', 1, 0, 1, '', '', 'radio', 0, '1', NULL, '0|未发布,1|发布', 7, 1, 1572870621, 0);
  356. INSERT INTO `lm_field` VALUES (86, 6, 'recommend', '允许评论', 0, 0, 1, '', '', 'radio', 0, '1', NULL, '0|禁止评论,1|允许评论', 8, 1, 1572870621, 0);
  357. INSERT INTO `lm_field` VALUES (87, 6, 'readpoint', '阅读收费', 0, 0, 5, '', '', 'number', 0, '0', NULL, '', 9, 1, 1572870621, 0);
  358. INSERT INTO `lm_field` VALUES (88, 6, 'is_read', '是否可阅读', 0, 0, 1, '', '', 'radio', 0, '1', NULL, '0|禁止,1|允许', 9, 1, 1572870621, 0);
  359. INSERT INTO `lm_field` VALUES (89, 6, 'hits', '点击次数', 0, 0, 8, '', '', 'number', 0, '1', NULL, '', 10, 1, 1572870621, 0);
  360. INSERT INTO `lm_field` VALUES (90, 6, 'visite', '访问权限', 0, 0, 1, '', '', 'radio', 0, '1', NULL, '0|开启,1|关闭', 11, 1, 1572870621, 0);
  361. INSERT INTO `lm_field` VALUES (91, 6, 'posid', '推荐位', 0, 0, 1, '', '', 'posid', 0, '', NULL, '', 12, 1, 1572870621, 0);
  362. INSERT INTO `lm_field` VALUES (92, 6, 'tags', '标签', 0, 0, 255, '', '', 'text', 0, '', NULL, '', 14, 1, 1572870621, 0);
  363. INSERT INTO `lm_field` VALUES (93, 6, 'occ_id', '土味乡情', 0, 0, 0, '', '', 'files', 0, '', 'varchar(255) NOT NULL DEFAULT \'\'', NULL, 50, 1, 1573720440, 1573720440);
  364. -- ----------------------------
  365. -- Table structure for lm_field_type
  366. -- ----------------------------
  367. DROP TABLE IF EXISTS `lm_field_type`;
  368. CREATE TABLE `lm_field_type` (
  369. `id` int(11) NOT NULL AUTO_INCREMENT,
  370. `name` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '字段类型',
  371. `title` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '中文类型名',
  372. `sort` int(4) NOT NULL DEFAULT 0 COMMENT '排序',
  373. `default_define` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '默认定义',
  374. `isoption` tinyint(1) UNSIGNED NOT NULL DEFAULT 0 COMMENT '是否需要设置选项',
  375. `istring` tinyint(1) UNSIGNED NOT NULL DEFAULT 0 COMMENT '是否自由字符',
  376. `rules` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '验证规则',
  377. PRIMARY KEY (`id`) USING BTREE
  378. ) ENGINE = InnoDB AUTO_INCREMENT = 17 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '字段类型表' ROW_FORMAT = Compact;
  379. -- ----------------------------
  380. -- Records of lm_field_type
  381. -- ----------------------------
  382. INSERT INTO `lm_field_type` VALUES (1, 'text', '输入框', 1, 'varchar(255) NOT NULL DEFAULT \'\'', 0, 1, '');
  383. INSERT INTO `lm_field_type` VALUES (2, 'checkbox', '复选框', 2, 'varchar(50) NOT NULL DEFAULT \'\'', 1, 0, '');
  384. INSERT INTO `lm_field_type` VALUES (3, 'textarea', '多行文本', 3, 'varchar(255) NOT NULL DEFAULT \'\'', 0, 1, '');
  385. INSERT INTO `lm_field_type` VALUES (4, 'radio', '单选按钮', 4, 'char(10) NOT NULL DEFAULT \'\'', 1, 0, '');
  386. INSERT INTO `lm_field_type` VALUES (5, 'switch', '开关', 5, 'tinyint(2) UNSIGNED NOT NULL DEFAULT \'0\'', 0, 0, 'isBool');
  387. INSERT INTO `lm_field_type` VALUES (6, 'array', '数组', 6, 'varchar(512) NOT NULL DEFAULT \'\'', 0, 0, '');
  388. INSERT INTO `lm_field_type` VALUES (7, 'select', '下拉框', 7, 'char(10) NOT NULL DEFAULT \'\'', 1, 0, '');
  389. INSERT INTO `lm_field_type` VALUES (8, 'image', '单张图', 8, 'int(5) UNSIGNED NOT NULL DEFAULT \'0\'', 0, 0, 'isNumber');
  390. INSERT INTO `lm_field_type` VALUES (9, 'tags', '标签', 10, 'varchar(255) NOT NULL DEFAULT \'\'', 0, 1, '');
  391. INSERT INTO `lm_field_type` VALUES (10, 'number', '数字', 11, 'int(10) UNSIGNED NOT NULL DEFAULT \'0\'', 0, 0, 'isNumber');
  392. INSERT INTO `lm_field_type` VALUES (11, 'datetime', '日期和时间', 12, 'int(10) UNSIGNED NOT NULL DEFAULT \'0\'', 0, 0, '');
  393. INSERT INTO `lm_field_type` VALUES (12, 'ueditor', '百度编辑器', 13, 'text NOT NULL', 0, 1, '');
  394. INSERT INTO `lm_field_type` VALUES (13, 'images', '多张图', 9, 'varchar(256) NOT NULL DEFAULT \'\'', 0, 0, '');
  395. INSERT INTO `lm_field_type` VALUES (14, 'color', '颜色值', 17, 'varchar(7) NOT NULL DEFAULT \'\'', 0, 0, '');
  396. INSERT INTO `lm_field_type` VALUES (15, 'file', '单文件', 15, 'int(5) UNSIGNED NOT NULL DEFAULT \'0\'', 0, 0, 'isNumber');
  397. INSERT INTO `lm_field_type` VALUES (16, 'files', '多文件', 16, 'varchar(255) NOT NULL DEFAULT \'\'', 0, 0, '');
  398. -- ----------------------------
  399. -- Table structure for lm_task
  400. -- ----------------------------
  401. DROP TABLE IF EXISTS `lm_task`;
  402. CREATE TABLE `lm_task` (
  403. `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT,
  404. `type` int(11) NULL DEFAULT 0 COMMENT '0 实名制 1 下载注册 2 网页注册 3 关注投票 4 分享转发 5电子商务 6多天任务 7 特单任务',
  405. `user_id` int(11) NULL DEFAULT 0 COMMENT '用户id',
  406. `name` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '任务名称',
  407. `explain` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '任务说明',
  408. `text` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '任务步骤',
  409. `num` int(11) NULL DEFAULT 0 COMMENT '剩余数量',
  410. `nums` int(11) NULL DEFAULT 0 COMMENT '总数量',
  411. `money` decimal(11, 2) NULL COMMENT '实际金额',
  412. `put_money` decimal(11, 2) NULL COMMENT '上架金额',
  413. `status` int(11) NULL DEFAULT 0 COMMENT '0 审核中 1 审核通过 2 审核失败 3 已完成 4 已禁止',
  414. `msg` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '审核失败原因 ',
  415. `repeat` int(11) NULL DEFAULT 0 COMMENT '0 可以重复做 1 不可以 ',
  416. `end_task_time` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '设置的结束时间',
  417. `push_time` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '提交时间',
  418. `create_time` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '创建时间',
  419. `update_time` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '更新时间',
  420. PRIMARY KEY (`id`) USING BTREE
  421. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '任务列表' ROW_FORMAT = Compact;
  422. -- ----------------------------
  423. -- Records of lm_task
  424. -- ----------------------------
  425. -- ----------------------------
  426. -- Table structure for lm_user
  427. -- ----------------------------
  428. DROP TABLE IF EXISTS `lm_user`;
  429. CREATE TABLE `lm_user` (
  430. `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT,
  431. `user` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '用户',
  432. `name` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '呢称',
  433. `pwd` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '密码',
  434. `openid` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '微信登录openid',
  435. `token` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT 'token',
  436. `money` decimal(20, 2) NULL COMMENT '账号余额',
  437. `push_money` decimal(20, 2) NULL COMMENT '发布余额',
  438. `status` int(1) NULL DEFAULT 0 COMMENT '0 正常 1 禁止登录',
  439. `status_time` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '封号时间',
  440. `create_time` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '创建时间',
  441. `vip_time` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '会员到期时间',
  442. `vip_level` int(1) NULL DEFAULT 0 COMMENT '0 普通会员 1 周卡 2月卡 3 年卡 ',
  443. PRIMARY KEY (`id`) USING BTREE
  444. ) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '用户表' ROW_FORMAT = Compact;
  445. -- ----------------------------
  446. -- Records of lm_user
  447. -- ----------------------------
  448. SET FOREIGN_KEY_CHECKS = 1;