Skip to content

Commit

Permalink
更新示例数据库
Browse files Browse the repository at this point in the history
  • Loading branch information
oiuv committed Dec 29, 2019
1 parent 7aeb45d commit 9cf4348
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions tasks/phpems.sql
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
Target Server Version : 100028
File Encoding : 65001

Date: 29/12/2019 17:02:58
Date: 29/12/2019 21:38:12
*/

SET NAMES utf8mb4;
Expand Down Expand Up @@ -4015,7 +4015,7 @@ CREATE TABLE `x2_content` (
-- Records of x2_content
-- ----------------------------
INSERT INTO `x2_content` VALUES (1, 2, 4, 1, 'peadmin', '', '首页头图', '', '', 'files/attach/images/content/20180727/15326772116755.jpg', '', 1530460518, 0, 0, '', '', 0, 'content_default', '', '');
INSERT INTO `x2_content` VALUES (2, 11, 4, 1, 'peadmin', '', 'phpems 使用指南', 'phpems', 'phpems', 'app/core/styles/images/noimage.gif', 'https://github.com/oiuv/phpems', 1575186908, 1577608168, 0, '', '', 0, 'content_default', '', '');
INSERT INTO `x2_content` VALUES (2, 11, 4, 1, 'peadmin', '', 'phpems@Github', 'phpems', 'phpems', 'app/core/styles/images/noimage.gif', 'https://github.com/oiuv/phpems', 1575186908, 1577625420, 0, '', '', 0, 'content_default', '', '');
INSERT INTO `x2_content` VALUES (3, 3, 4, 1, 'peadmin', '', '教师资格证《综合素质》第一章考点', '综合素质', '教师资格证', 'app/core/styles/images/noimage.gif', '', 1575183639, 1577607553, 0, '《综合素质》是教师资格必考科目,核心内容包括教育观、教育法、职业道德、文化常识及基本能力。', '', 0, 'content_default', '<p>素质教育观的内涵</p>\r\n\r\n<p>(1)素质教育以提高国民素质为根本宗旨</p>\r\n\r\n<p>(2)素质教育是面向全体学生的教育</p>\r\n\r\n<p>(3)素质教育是促进学生全面发展的教育</p>\r\n\r\n<p>(4)素质教育是促进学生个性发展的教育</p>\r\n\r\n<p>(5)素质教育是以培养学生的创新精神和实践能力为重点的教育</p>\r\n\r\n<p>“以人为本”的的学生观</p>\r\n\r\n<p>学生是发展的人;学生是独特的人;学生是具有独立意义的人。</p>', '');
INSERT INTO `x2_content` VALUES (4, 1, 4, 1, 'peadmin', '', '教育部公布2020年研考违规违法行为举报电话', '考研', '考研', 'app/core/styles/images/noimage.gif', '', 1575129621, 1577607905, 0, '2020年全国硕士研究生招生考试将于12月21日至23日举行,报考人数341万人。为严厉打击涉考违法活动,严肃考试纪律,维护考生合法权益,现公布2020年全国硕士研究生招生考试违规违法行为举报电话。', '', 0, 'content_default', '<p>2020年全国硕士研究生招生考试将于12月21日至23日举行,报考人数341万人。为严厉打击涉考违法活动,严肃考试纪律,维护考生合法权益,现公布2020年全国硕士研究生招生考试违规违法行为举报电话。</p>\r\n\r\n<p>近期,各地教育、公安、网信、工信、市场监管等相关部门正联合开展考试环境综合治理。对涉考违法违规活动,有关部门将依法严厉打击,发现一起、查处一起,坚决维护研招考试公平公正。</p>\r\n\r\n<p>根据2019年9月4日起施行的《最高人民法院、最高人民检察院关于办理组织考试作弊等刑事案件适用法律若干问题的解释》,在研究生招生考试中“组织考试作弊”“非法出售或者提供试题、答案”等情形,均应认定为刑法第二百八十四条规定之一的“情节严重”,将依法从重追究刑事责任。</p>\r\n\r\n<p>教育部郑重提醒广大考生,要切实增强法制观念,提高法律意识,自觉学法知法、尊法守法,诚信考试,不参与涉考违法犯罪活动,同时,不要听信一些社会培训机构“包过”“保过”的虚假宣传,不购买所谓“试题”“答案”,谨防受骗。</p>\r\n\r\n<p>欢迎社会各界和广大考生积极参与监督,共同维护公平公正的考试环境。</p>', '');
INSERT INTO `x2_content` VALUES (5, 14, 4, 1, 'peadmin', '', 'phpems 6.0发布', 'phpems', 'phpems', 'app/core/styles/images/noimage.gif', '', 1575129614, 1577609422, 0, '免费开源的考试系统', '', 0, 'content_default', '<h2>安装和配置</h2>\r\n\r\n<h3>安装</h3>\r\n\r\n<h4>方式1:使用 composer 创建项目</h4>\r\n\r\n<p>通过 <a href="https://getcomposer.org/" rel="nofollow">composer</a> 指令直接创建项目</p>\r\n\r\n<pre>\r\n<code>composer create-project --prefer-dist phpems/phpems phpems\r\n</code></pre>\r\n\r\n<p>如果要安装 v5.0 版本,请使用以下指令:</p>\r\n\r\n<pre>\r\n<code>composer create-project --prefer-dist phpems/phpems phpems "5.*"\r\n</code></pre>\r\n\r\n<h4>方式2:使用 git 创建项目</h4>\r\n\r\n<p>使用 git 复制项目后使用 composer 安装依赖</p>\r\n\r\n<pre>\r\n<code>git clone https://github.com/oiuv/phpems.git\r\ncd phpems && composer install\r\ncd lib && cp config.inc.example.php config.inc.php\r\n</code></pre>\r\n\r\n<h3>配置</h3>\r\n\r\n<p>安装完成后,根据需要修改 lib 目录下的 <code>config.inc.php</code> 文件,配置数据库,然后使用 <code>tasks</code> 目录下的数据库文件 <code>phpems.sql</code> 创建数据库,项目上线后务必删除 <code>tasks</code> 目录。</p>\r\n\r\n<p>如果是 phpems v5.0 版本升级,请使用 <code>tasks</code> 目录下的 <code>v5v6.sql</code> 升级数据库。</p>\r\n\r\n<p>如果是 linux 系统,需要保证 <code>data</code> 目录具有可写权限,否则网站无法正常访问。</p>\r\n\r\n<p>默认管理员账号:peadmin,密码:peadmin</p>\r\n\r\n<blockquote>\r\n<p>源码默认关闭错误提示,如需调试请修改 <code>config.inc.php</code> 中 <code>DEBUG</code> 为 <code>true</code>。</p>\r\n</blockquote>\r\n\r\n<h2>演示</h2>\r\n\r\n<ul>\r\n <li>v6.0:<a href="https://phpems.is.js.cn/" rel="nofollow">https://phpems.is.js.cn/</a></li>\r\n <li>v5.0:<a href="https://phpems5.is.js.cn/" rel="nofollow">https://phpems5.is.js.cn/</a></li>\r\n</ul>', '');
Expand Down Expand Up @@ -4624,7 +4624,12 @@ CREATE TABLE `x2_poscontent` (
INDEX `pcposid`(`pcposid`, `pccontentid`, `pcsequence`) USING BTREE,
INDEX `pctime`(`pctime`) USING BTREE,
INDEX `pcposapp`(`pcposapp`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
) ENGINE = MyISAM AUTO_INCREMENT = 2 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of x2_poscontent
-- ----------------------------
INSERT INTO `x2_poscontent` VALUES (1, 2, 'content', 4, 'app/core/styles/images/noimage.gif', 0, '教育部公布2020年研考违规违法行为举报电话', 1575129621, '2020年全国硕士研究生招生考试将于12月21日至23日举行,报考人数341万人。为严厉打击涉考违法活动,严肃考试纪律,维护考生合法权益,现公布2020年全国硕士研究生招生考试违规违法行为举报电话。');

-- ----------------------------
-- Table structure for x2_position
Expand All @@ -4634,7 +4639,15 @@ CREATE TABLE `x2_position` (
`posid` int(11) NOT NULL AUTO_INCREMENT,
`posname` varchar(120) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '',
PRIMARY KEY (`posid`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
) ENGINE = MyISAM AUTO_INCREMENT = 5 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of x2_position
-- ----------------------------
INSERT INTO `x2_position` VALUES (1, 'PC首页轮播图');
INSERT INTO `x2_position` VALUES (2, '热点新闻');
INSERT INTO `x2_position` VALUES (3, '精彩专题');
INSERT INTO `x2_position` VALUES (4, '手机首页轮播图');

-- ----------------------------
-- Table structure for x2_product
Expand Down Expand Up @@ -6186,7 +6199,7 @@ CREATE TABLE `x2_session` (
-- ----------------------------
-- Records of x2_session
-- ----------------------------
INSERT INTO `x2_session` VALUES ('ac5148fcb75dd390f4c5ffcadbb1ecaf', 1, 'peadmin', '244153a2599be7685c32d2281f57ae67', '192.168.1.4', 0, 1, '1', '', 1577599581, 1577599581, 1577610102, 0);
INSERT INTO `x2_session` VALUES ('d742c16143cd9384c97cdd2927798ab4', 1, 'peadmin', '244153a2599be7685c32d2281f57ae67', '192.168.1.4', 0, 1, '', '', 1577625746, 1577625746, 1577626656, 0);

-- ----------------------------
-- Table structure for x2_subject
Expand Down Expand Up @@ -6249,7 +6262,7 @@ CREATE TABLE `x2_user` (
-- Records of x2_user
-- ----------------------------
INSERT INTO `x2_user` VALUES (1, '', 'peadmin', '[email protected]', '244153a2599be7685c32d2281f57ae67', 205, '127.0.0.1', 1471795200, 0, NULL, 1, 0, NULL, 'a:5:{i:0;s:4:\"user\";i:1;s:7:\"content\";i:2;s:4:\"exam\";i:3;s:6:\"course\";i:4;s:4:\"bank\";}', 'test', '', '', '', '110120199506131234', '男', '19987654321', '', '河南省郑州市管城区某地', 'app/core/styles/img/noimage.gif');
INSERT INTO `x2_user` VALUES (2, '', '教师管理员', '[email protected]', '96e79218965eb72c92a549dd5a330112', 98, '127.0.0.1', 1471795200, 0, NULL, 9, 0, NULL, '', 'iuv', '', 'a:2:{i:0;s:1:\"1\";i:1;s:1:\"2\";}', '77777', '', '', '', '', '', '');
INSERT INTO `x2_user` VALUES (2, '', '教师管理员', '[email protected]', '0744ac91af5685219a1614ad196333da', 98, '127.0.0.1', 1471795200, 0, NULL, 9, 0, NULL, '', 'iuv', '', 'a:2:{i:0;s:1:\"1\";i:1;s:1:\"2\";}', '有理想信念\r\n有道德情操\r\n有仁爱之心\r\n有扎实学识', '', '', '', '', '', 'app/core/styles/img/noimage.gif');

-- ----------------------------
-- Table structure for x2_user_group
Expand Down

0 comments on commit 9cf4348

Please sign in to comment.