{"id":37423231,"url":"https://github.com/jackieonway/springboot-cms","last_synced_at":"2026-01-16T06:09:23.400Z","repository":{"id":37174223,"uuid":"149561666","full_name":"jackieonway/springboot-cms","owner":"jackieonway","description":"Content management system based on Springboot, Spring, SpringMVC, Mybatis,FreeMarker,Bootstrap, Apache Shiro, Quartz, Email, MySQL, etc.","archived":false,"fork":false,"pushed_at":"2023-02-22T07:12:51.000Z","size":4789,"stargazers_count":9,"open_issues_count":1,"forks_count":12,"subscribers_count":0,"default_branch":"master","last_synced_at":"2023-03-04T06:42:04.096Z","etag":null,"topics":["ajax","freemarker","mail","mybatis","mysql","quartz","shiro","spring","spring-mvc","springboot"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jackieonway.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-09-20T06:24:37.000Z","updated_at":"2023-03-04T06:42:04.097Z","dependencies_parsed_at":"2022-06-24T11:40:07.332Z","dependency_job_id":null,"html_url":"https://github.com/jackieonway/springboot-cms","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/jackieonway/springboot-cms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackieonway%2Fspringboot-cms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackieonway%2Fspringboot-cms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackieonway%2Fspringboot-cms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackieonway%2Fspringboot-cms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jackieonway","download_url":"https://codeload.github.com/jackieonway/springboot-cms/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackieonway%2Fspringboot-cms/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28477632,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T03:13:13.607Z","status":"ssl_error","status_checked_at":"2026-01-16T03:11:47.863Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ajax","freemarker","mail","mybatis","mysql","quartz","shiro","spring","spring-mvc","springboot"],"created_at":"2026-01-16T06:09:22.607Z","updated_at":"2026-01-16T06:09:23.385Z","avatar_url":"https://github.com/jackieonway.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CMS系统说明 #\n\n## 一、开发背景 ##\n   \n\n## 二、技术框架 ##\n\n\n\n### 1. 开发环境 ###\n    \n- **JDK1.8**\n- **Apache-Maven-3.5.0**  \n- **InteliJ IDEA**\n- **Apache-Tomcat-8.0**\n- **Nginx-1.6.3**\n\n### 2. 后端技术 ###\n\n- **Spring**\n- **Spring MVC**\n- **Spring Boot**\n- 密码找回 : **SpringBoot-Email**\n- 分布式定时框架: **quartz**\n- **MyBatis**\n### 3. 权限框架 ###\n- 权限： **Apache Shiro**\n### 4. 数据库以及连接池 ###\n- 数据库 ： **MySQL**\n- 连接池 ： **Druid**\n    \n### 5. Json ###\n- Json转换 ： **FastJson**\n### 6. 前端技术 ###\n- 前端页面 ： **FreeMarker 模块引擎**\n- 前端样式 ： **BootStrap**\n- 文件上传 ： **ajaxFileUpload**\n- 文本编辑 ： **百度UEditor编辑器**\n    \n## 三、项目结构 ##\n\n\n    trunk --------------------------------------------------------- 代码库\n    |- sql -------------------------------------------------------- 数据库建表语句以及初始化\n    |- src -------------------------------------------------------- 项目源码\n        |- main --------------------------------------------------- 主代码 \n            |- java ----------------------------------------------- 代码\n            |   |-  com\n            |       |- baidu -------------------------------------- 百度编辑器\n            |       |- pengzu\n            |           |— config --------------------------------- 系统配置\n            |           |- controller ----------------------------- 控制层\n            |           |   |- manage ----------------------------- 后台控制层\n            |           |   |- view ------------------------------- 前台控制层\n            |           |- dao ------------------------------------ 数据库dao 接口\n            |           |- entity --------------------------------- 实体\n            |           |   |-result ------------------------------ 响应及分页\n            |           |   |- vo --------------------------------- 页面传输实体\n            |           |- filter --------------------------------- 请求拦截器\n            |           |- job ------------------------------------ quartz 定时执行类\n            |           |- schedule ------------------------------- quartz 定时配置\n            |           |- service -------------------------------- Service层接口\n            |           |   |- impl ------------------------------- Service 接口实现层\n            |           |- shiro ---------------------------------- shiro realm 配置\n            |           |- utils ---------------------------------- 工具类\n            |           |- ServletInitializer --------------------- 外置Tomcat运行必须类\n            |           |- CmsApplication ------------------------- 系统启动类\n            |- resources ------------------------------------------ 资源文件夹\n                |- mybatis ---------------------------------------- mybatis 配置以及Mapper文件\n                |- static ----------------------------------------- 系统静态资源文件夹\n                |- templates -------------------------------------- 系统模板页面文件夹\n\n                         \n## 四、项目打包以及部署 ##\n\n\n### （一）、项目打包\n\n\t1. 修改项目里 trunk \u003e src \u003e main \u003e resources 里的配置文件:application-xxx.yml和quartz-xxx.properties 为不同环境配置文件\n\tapplication-xxx.yml:\n\n\u003e\n\u003espring: \u003cbr\u003e\n\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;mail: #邮箱的发送配置\u003cbr\u003e\n\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;host: smtp.xxxx.com\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;#邮件服务器SMTP地址\u003cbr\u003e\n\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;username: xxxxx@xxxx.com\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;#邮件发件人配置\u003cbr\u003e\n\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;password: xxxxx\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;#邮件发件人密码\u003cbr\u003e\n\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;properties:\u003cbr\u003e\n\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;mail:\u003cbr\u003e\n\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;smtp:\u003cbr\u003e\n\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;auth: true\u003cbr\u003e\n\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;starttls:\u003cbr\u003e\n\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;enable: true\u003cbr\u003e\n\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;required: true\u003cbr\u003e\n\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;datasource:\u003cbr\u003e\n\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;name: test\u003cbr\u003e\n\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;url: jdbc:mysql://localhost:3306?useUnicode=true\u0026characterEncoding=UTF-8\u0026zeroDateTimeBehavior=convertToNull\u0026allowMultiQueries=true\u003cbr\u003e\n\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;username: root\u003cbr\u003e\n\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;password: xxxx\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;#数据库密码\u003cbr\u003e\n\u003efile:\u003cbr\u003e\n\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;root: E:\\filesystem\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;#文件存放位置\u003cbr\u003e\n\u003eemail:\u003cbr\u003e\n\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;username: xxxxx@xxxx.com\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;#发件人邮箱\u003cbr\u003e\n\u003e\n\n\tquartz-xxx.properties:\n\n\u003e\n\u003eorg.quartz.scheduler.instanceName = MyScheduler\u003cbr\u003e\n\u003e\n\u003eorg.quartz.threadPool.threadCount = 5\u003cbr\u003e\n\u003eorg.quartz.jobStore.class = org.quartz.impl.jdbcjobstore.JobStoreTX\u003cbr\u003e\n\u003eorg.quartz.jobStore.driverDelegateClass = org.quartz.impl.jdbcjobstore.StdJDBCDelegate\u003cbr\u003e\n\u003eorg.quartz.jobStore.tablePrefix = QRTZ_\u003cbr\u003e\n\u003eorg.quartz.jobStore.dataSource = myDS\u003cbr\u003e\n\u003e\n\u003eorg.quartz.dataSource.myDS.driver = com.mysql.jdbc.Driver\u003cbr\u003e\n\u003eorg.quartz.dataSource.myDS.URL = jdbc:mysql://localhost:3306/quartz?characterEncoding=utf-8\u0026useSSL=false\u003cbr\u003e\n\u003eorg.quartz.dataSource.myDS.user = root\u003cbr\u003e\n\u003eorg.quartz.dataSource.myDS.password = xxxxx\u003cbr\u003e\n\u003eorg.quartz.dataSource.myDS.maxConnections = 5\u003cbr\u003e\n\u003e\n\n\n\n\t2. 在工程下trunk目录里打开cmd命令窗口,输入:\n\u003e mvn clean package -Pxxx -Dmaven.test.skip=true\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;#xxx：项目部署环境配置文件\n \n\t3. 打包文件在 target下..名字为 cms-1.0.0.war\n\n#### （二）、项目部署\n\n\t1. 上传war包到服务器;\n\t2. 放在Tomcat的webapps目录下\n\t3. 配置Tomcat的server.xml,加入\n\t4. 加入 \u003cContext path=\"\" docBase=\"cms-1.0.0\" reloadable=\"true\"/\u003e 到host节点下 \n\t5. 启动Tomcat\n\t6. 前台访问地址: ip：port\n\t7. 后台访问地址: ip:port/adminManager/login.html\n\t8. 正常情况下访问是没有图片资源的,需配置Nginx反向代理静态资源\n\n\n\n ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjackieonway%2Fspringboot-cms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjackieonway%2Fspringboot-cms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjackieonway%2Fspringboot-cms/lists"}