26 lines
5.2 KiB
MySQL
26 lines
5.2 KiB
MySQL
![]() |
/*
|
|||
|
Dreamer CMS 数据库备份工具 时间:2025-04-09
|
|||
|
*/
|
|||
|
|
|||
|
DROP TABLE IF EXISTS `system_question`;
|
|||
|
|
|||
|
/*
|
|||
|
Table structure for table `system_question`
|
|||
|
*/
|
|||
|
CREATE TABLE `system_question` (
|
|||
|
`id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
|
|||
|
`aid` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '主表ID',
|
|||
|
`ext01` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
|
|||
|
`ext02` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
|
|||
|
`ext03` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
|
|||
|
`ext04` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
|
|||
|
`ext05` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
|
|||
|
`answer` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin,
|
|||
|
PRIMARY KEY (`id`)
|
|||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;
|
|||
|
|
|||
|
/*
|
|||
|
Data for table `system_question`
|
|||
|
*/
|
|||
|
INSERT INTO `system_question`(`aid`, `answer`, `ext01`, `ext02`, `ext03`, `ext04`, `ext05`, `id`) VALUES ('07d10ba665644d40ba558b0fe3d4831f', '<p style="box-sizing: border-box; margin: 0px 0em 16px; line-height: 1.6; word-break: break-word; color: rgb(64, 72, 91); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Liberation Sans", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Wenquanyi Micro Hei", "WenQuanYi Zen Hei", "ST Heiti", SimHei, SimSun, "WenQuanYi Zen Hei Sharp", sans-serif; white-space: normal; background-color: rgb(255, 255, 255);"><span style="font-size: 14px;">CMS包括两个部分(代码部分、资源部分)代码不多说。资源就是图片、模版等,该目录在application.yml中web.resource-path配置项目中配置。视频教程:</span></p><pre style="box-sizing: border-box; overflow: auto; font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 13.6px; margin-top: 0px; margin-bottom: 0px; overflow-wrap: normal; padding: 16px; line-height: 1.45; background-color: rgb(39, 40, 34); border-radius: 3px; word-break: normal; min-height: 52px; tab-size: 4; color: rgb(248, 248, 242);"><span style="font-size: 14px;">CMS后台使用教程:https://www.iteachyou.cc/list-6s3bg7tf/dreamercms/1/10Dreamer <br/>CMS模版开发教程:https://www.iteachyou.cc/list-l54xs53b/tempdev/1/10 <br/>百度网盘下载链接:https://pan.baidu.com/s/1plsfBl_ds_5TkVa-yRkESQ 提取码:2c8i<br/>在线观看视频地址:https://space.bilibili.com/482273402<br/></span></pre><p><span style="font-size: 14px;">1. 克隆项目到本地工作空间</span></p><p><span style="font-size: 14px;">2. 导入Eclipse或Sts等开发工具(推荐使用Spring Tools Suite 4),项目需要使用Lombok支持,Lombok安装教程,请参考</span><a href="https://gitee.com/link?target=https%3A%2F%2Fwww.iteachyou.cc%2Farticle%2F55ec2939c29147eca5bebabf19621655" style="box-sizing: border-box; background: transparent; color: rgb(9, 94, 171); text-decoration: underline; cursor: pointer; overflow-wrap: break-word; font-size: 14px;"><span style="font-size: 14px;">https://www.iteachyou.cc/article/55ec2939c29147eca5bebabf19621655</span></a></p><p><span style="font-size: 14px;">3. 项目需要Redis,请自行修改application.yml中Redis配置</span></p><p><span style="font-size: 14px;">4. 修改项目资源目录,application.yml文件web.resource-path配置项(如D:/dreamer-cms/)</span></p><p><span style="font-size: 14px;">5. 导入数据库src/main/resources/db/db.sql,要求Mysql5.7版本,并修改application-(dev|prd).yml中数据配置</span></p><p><span style="font-size: 14px;">6. 将项目src/main/resources/db/dreamer-cms.zip文件解压,保证解压后的目录路径的名称和资源目录一致</span></p><p><span style="font-size: 14px;">7. 运行项目DreamerCMSApplication.java</span></p><p><span style="font-size: 14px;">8. 网站首页:</span><a href="https://gitee.com/link?target=http%3A%2F%2Flocalhost%3A8888" style="box-sizing: border-box; background: transparent; color: rgb(9, 94, 171); text-decoration: underline; cursor: pointer; overflow-wrap: break-word; font-size: 14px;"><span style="font-size: 14px;">http://localhost:8888</span></a><span style="font-size: 14px;"> 项目管理后台:</span><a href="https://gitee.com/link?target=http%3A%2F%2Flocalhost%3A8888%2Fadmin" style="box-sizing: border-box; background: transparent; color: rgb(9, 94, 171); text-decoration: underline; cursor: pointer; overflow-wrap: break-word; font-size: 14px;"><span style="font-size: 14px;">http://localhost:8888/admin</span></a></p><p><span style="font-size: 14px;">9. 管理后台用户名:wangjn;密码:123456</span></p><p><span style="font-size: 14px;">10. 模版标签开发教程请参考:</span><a href="https://gitee.com/link?tar
|