# 基于SpringBoot开发的个人博客 **Repository Path**: LinSir12138/myblog-SpringBoot ## Basic Information - **Project Name**: 基于SpringBoot开发的个人博客 - **Description**: 基于SpringBoot开发的个人博客 - **Primary Language**: Java - **License**: Artistic-2.0 - **Default Branch**: master - **Homepage**: http://linkaiblog.top/ - **GVP Project**: No ## Statistics - **Stars**: 7 - **Forks**: 0 - **Created**: 2020-09-21 - **Last Updated**: 2022-06-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 博客简介 **基于SpringBoot+Thymeleaf的个人博客** 使用MyBatis整合数据库,使用Redis作为缓存;使用使用七牛云的OSS对象对象存储服务;使用Edit.md做Markdown编辑器;发送邮件时使用RabbitMQ作为消息队列。 ## 彩色阴影 参考:https://jingyan.baidu.com/article/cdddd41cb97f9653cb00e1ec.html margin-bottom: 25px; box-shadow: 0px -5px 10px yellow, 5px 0 10px red; 多个属性用逗号隔开 ## Redis 缓存 在 BlogServiceImpl 中实现了缓存,但是还存在问题,缓存更新的问题,阅读文章之后,文章的阅读量应该 更新。 #### 定时任务,定时更新缓存 在 BlogServiceImp 的 timer 方法中--》 每 15 分钟更新缓存 1. 添加博客时,标题输入框失去焦点,发送 Ajax 请求判断是否重名。 - 新增博客和修改博客时的检测情况不同 #### 消息队列有关方法 MainServiceImpl ======= # 博客效果展示 - 博客首页 ![博客首页](https://images.gitee.com/uploads/images/2021/0709/111047_632e314a_5430474.png "屏幕截图.png") - 博客后台界面 ![博客后台界面](https://images.gitee.com/uploads/images/2021/0709/111136_493e8f70_5430474.png "屏幕截图.png") - 发布博客界面 ![发布博客](https://images.gitee.com/uploads/images/2021/0709/111551_ba53a455_5430474.png "屏幕截图.png")