优化初始化sql
This commit is contained in:
parent
e2c9aa49ed
commit
7519c58ca2
@ -14,10 +14,10 @@
|
||||
</div>
|
||||
<div class="intro-ops">
|
||||
<div class="cms-download">
|
||||
<a href="http://cms.ruxiba.com/storage/gougucms_20210225_1.0.0_full.zip" target="_blank">立即下载</a>
|
||||
<a href="http://www.gougucms.com/storage/gougucms_v1.2021.05.05_full.zip" target="_blank">立即下载</a>
|
||||
</div>
|
||||
<div class="cms-version">
|
||||
<span>当前版本:<i>1.0.0</i></span>
|
||||
<span>当前版本:<i>v1.2021.05.05</i></span>
|
||||
<span><a href="#" rel="nofollow" target="_blank">更新日志</a></span>
|
||||
<span>下载量:<i>1021</i></span>
|
||||
</div>
|
||||
|
@ -48,7 +48,7 @@ CREATE TABLE `cms_admin_group` (
|
||||
-- Records of cms_admin_group
|
||||
-- ----------------------------
|
||||
INSERT INTO `cms_admin_group` VALUES ('1', '超级管理员', '1', '1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98', '1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21', '超级管理员,系统自动分配所有可操作权限及菜单。', '0', '0');
|
||||
|
||||
INSERT INTO `cms_admin_group` VALUES (2, '测试角色', 1, '1,5,6,12,13,17,18,22,23,27,28,33,34,91,92,93,94,95,97,98,2,35,36,37,38,40,41,42,43,45,46,47,48,51,52,53,50,55,56,57,58,60,61,62,63,65,66,67,68,70,71,3,73,74,76,77,79,80,4,81,82,83,84,86,87,88,89', '1,5,6,7,8,9,10,11,12,2,13,14,15,16,17,3,18,19,4,20,21', '测试角色', 0, 0);
|
||||
-- ----------------------------
|
||||
-- Table structure for `cms_admin_group_access`
|
||||
-- ----------------------------
|
||||
@ -262,9 +262,9 @@ CREATE TABLE `cms_config` (
|
||||
-- ----------------------------
|
||||
-- Records of cms_config
|
||||
-- ----------------------------
|
||||
INSERT INTO `cms_config` VALUES (1, '网站配置', 'web', 'a:12:{s:2:\"id\";s:1:\"1\";s:11:\"admin_title\";s:9:\"勾股cms\";s:5:\"title\";s:9:\"勾股cms\";s:4:\"logo\";s:0:\"\";s:4:\"file\";s:0:\"\";s:6:\"domain\";s:23:\"http://www.gouguapp.com\";s:3:\"icp\";s:23:\"粤ICP备1xxxxxx11号-1\";s:8:\"keywords\";s:9:\"勾股cms\";s:4:\"desc\";s:250:\"勾股CMS是一套基于ThinkPHP6 + Layui + MySql打造的轻量级、高性能快速建站的内容管理系统。后台管理模块,一目了然,操作简单,通用型后台权限管理框架,紧随潮流、极低门槛、开箱即用。 \";s:4:\"code\";s:0:\"\";s:9:\"copyright\";s:32:\"© 2021 gouguapp.com MIT license\";s:7:\"version\";s:5:\"1.0.2\";}', 1, 1612514630, 1613788922);
|
||||
INSERT INTO `cms_config` VALUES (1, '网站配置', 'web', 'a:12:{s:2:\"id\";s:1:\"1\";s:11:\"admin_title\";s:9:\"勾股cms\";s:5:\"title\";s:9:\"勾股cms\";s:4:\"logo\";s:0:\"\";s:4:\"file\";s:0:\"\";s:6:\"domain\";s:23:\"http://www.gougucms.com\";s:3:\"icp\";s:23:\"粤ICP备1xxxxxx11号-1\";s:8:\"keywords\";s:9:\"勾股cms\";s:4:\"desc\";s:250:\"勾股CMS是一套基于ThinkPHP6 + Layui + MySql打造的轻量级、高性能快速建站的内容管理系统。后台管理模块,一目了然,操作简单,通用型后台权限管理框架,紧随潮流、极低门槛、开箱即用。 \";s:4:\"code\";s:0:\"\";s:9:\"copyright\";s:32:\"© 2021 gouguapp.com MIT license\";s:7:\"version\";s:5:\"1.0.2\";}', 1, 1612514630, 1613788922);
|
||||
INSERT INTO `eye_config` VALUES (2, '邮箱配置', 'email', 'a:8:{s:2:\"id\";s:1:\"2\";s:4:\"smtp\";s:11:\"smtp.qq.com\";s:9:\"smtp_port\";s:3:\"465\";s:9:\"smtp_user\";s:15:\"gougucms@qq.com\";s:8:\"smtp_pwd\";s:6:\"123456\";s:4:\"from\";s:24:\"勾股CMS系统管理员\";s:5:\"email\";s:18:\"admin@gougucms.com\";s:8:\"template\";s:122:\"<p>勾股CMS是一套基于ThinkPHP6 + Layui + MySql打造的轻量级、高性能快速建站的内容管理系统。</p>\";}', 1, 1612521657, 1619088538);
|
||||
INSERT INTO `cms_config` VALUES (3, '微信配置', 'wechat', 'a:9:{s:2:\"id\";s:1:\"3\";s:5:\"token\";s:8:\"GOUGUCMS\";s:14:\"login_back_url\";s:48:\"http://www.gouguapp.com/wechat/index/getChatInfo\";s:5:\"appid\";s:18:\"wxdf96xxxx7cd6f0c5\";s:9:\"appsecret\";s:32:\"1dbf319a4f0dfed7xxxxfd1c7dbba488\";s:5:\"mchid\";s:10:\"151xxxx331\";s:11:\"secrect_key\";s:32:\"beiyuexxxxhunangdmabcxxxxjixxxng\";s:8:\"cert_url\";s:13:\"/extend/cert/\";s:12:\"pay_back_url\";s:42:\"https://www.gouguapp.com/wxappv1/wx/notify\";}', 1, 1612522314, 1613789058);
|
||||
INSERT INTO `cms_config` VALUES (3, '微信配置', 'wechat', 'a:9:{s:2:\"id\";s:1:\"3\";s:5:\"token\";s:8:\"GOUGUCMS\";s:14:\"login_back_url\";s:48:\"http://www.gougucms.com/wechat/index/getChatInfo\";s:5:\"appid\";s:18:\"wxdf96xxxx7cd6f0c5\";s:9:\"appsecret\";s:32:\"1dbf319a4f0dfed7xxxxfd1c7dbba488\";s:5:\"mchid\";s:10:\"151xxxx331\";s:11:\"secrect_key\";s:32:\"beiyuexxxxhunangdmabcxxxxjixxxng\";s:8:\"cert_url\";s:13:\"/extend/cert/\";s:12:\"pay_back_url\";s:42:\"https://www.gouguapp.com/wxappv1/wx/notify\";}', 1, 1612522314, 1613789058);
|
||||
INSERT INTO `cms_config` VALUES (4, '其他配置', 'other', 'a:3:{s:2:\"id\";s:1:\"4\";s:6:\"author\";s:12:\"629工作室\";s:7:\"version\";s:5:\"1.0.2\";}', 1, 1613725791, 1613789431);
|
||||
|
||||
|
||||
@ -564,7 +564,7 @@ CREATE TABLE `cms_file` (
|
||||
`filesize` int(10) NOT NULL DEFAULT 0 COMMENT '文件大小',
|
||||
`fileext` varchar(10) NOT NULL DEFAULT '' COMMENT '文件后缀',
|
||||
`mimetype` varchar(100) NOT NULL DEFAULT '' COMMENT '文件类型',
|
||||
`uid` int(11) unsigned NOT NULL DEFAULT 0 COMMENT '会员ID',
|
||||
`user_id` int(11) unsigned NOT NULL DEFAULT 0 COMMENT '上传会员ID',
|
||||
`uploadip` varchar(15) NOT NULL DEFAULT '' COMMENT '上传IP',
|
||||
`status` tinyint(1) NOT NULL DEFAULT 0 COMMENT '0未审核1已审核-1不通过',
|
||||
`create_time` int(11) NOT NULL DEFAULT '0',
|
||||
|
Loading…
x
Reference in New Issue
Block a user