diff --git a/.gitignore b/.gitignore index 032ce5c8..ebaf883b 100755 --- a/.gitignore +++ b/.gitignore @@ -24,6 +24,7 @@ dist/ nbdist/ .nb-gradle/ + .DS_Store target/ diff --git a/ForestBlog/src/main/java/com/liuyanzhao/ssm/blog/controller/home/IndexController.java b/ForestBlog/src/main/java/com/liuyanzhao/ssm/blog/controller/home/IndexController.java index 040e3e73..aec1455c 100755 --- a/ForestBlog/src/main/java/com/liuyanzhao/ssm/blog/controller/home/IndexController.java +++ b/ForestBlog/src/main/java/com/liuyanzhao/ssm/blog/controller/home/IndexController.java @@ -93,7 +93,7 @@ public String search( //最新评论 List recentCommentList = commentService.listRecentComment(null, 10); model.addAttribute("recentCommentList", recentCommentList); - model.addAttribute("pageUrlPrefix", "/search?pageIndex"); + model.addAttribute("pageUrlPrefix", "/search?keywords=" + keywords + "&pageIndex"); return "Home/Page/search"; } diff --git a/ForestBlog/src/main/java/com/liuyanzhao/ssm/blog/util/MyUtils.java b/ForestBlog/src/main/java/com/liuyanzhao/ssm/blog/util/MyUtils.java index 122f1e21..49d7704e 100755 --- a/ForestBlog/src/main/java/com/liuyanzhao/ssm/blog/util/MyUtils.java +++ b/ForestBlog/src/main/java/com/liuyanzhao/ssm/blog/util/MyUtils.java @@ -88,4 +88,5 @@ public static String getGravatar(String email) { return avatar; } + } \ No newline at end of file diff --git a/README.md b/README.md index c7a4c0bd..b6e7f8db 100755 --- a/README.md +++ b/README.md @@ -1,30 +1,16 @@ -最新消息,SpringBoot博客已经开源,[SENS](https://github.com/saysky/SENS)
-最新消息 SpringBoot/SSM/Duubo多个版本 [初云博客-SpringBoot版本](https://github.com/saysky/ChuyunBlog)
-[更多项目、博主付费商品](https://liuyanzhao.com/shop.html) - - +最新消息,博主已开通B站账号:[Java刘哥](https://space.bilibili.com/160340478) +## 博主开发的其他博客或论坛项目全部在这里 +**[全部原创项目](https://liuyanzhao.com/shop.html)**
+**[https://liuyanzhao.com/shop.html?k=博客](https://liuyanzhao.com/shop.html?k=博客)**
+**[https://liuyanzhao.com/shop.html?k=论坛](https://liuyanzhao.com/shop.html?k=论坛)**
+- ------------------------------------------------------------ # 关于项目 该博客是基于SSM实现的个人博客系统,适合初学SSM和个人博客制作的同学学习。
-最新版本支持用户注册,包含用户和管理员两个角色 。
博主已写了一篇该项目的毕业论文和录制了2个小时的代码讲解可以供大家学习,需要的可以联系博主,微信847064370。
主要涉及技术包括的包括 Maven、Spring、SpringMVC、MyBatis、JSP、MySQL等。
详细介绍:[https://liuyanzhao.com/6347.html](https://liuyanzhao.com/6347.html)
-预览地址 [https://forestblog.liuyanzhao.com](https://forestblog.liuyanzhao.com) - -**博主提供有偿服务** -- 远程调试环境和运行项目 50 -- 项目论文 200 -- 项目详细讲解2-3小时 200-300 -- 部署到云服务器 200 -- 项目和部分功能定制 200-500 -- 毕业设计定制 1000-1500 - -## 效果预览 -因博主服务器数量有限,目前该SSM博客已下线,不提供实时预览,大家可以本地部署。
-目前 SENS 部署了,效果和该项目前端相似,预览地址 https://blog.liuyanzhao.com 。
-以及博主个人博客主站 https://liuyanzhao.com 也是基于 springboot+vuejs 开发。
-
+预览地址:[http://forestblog.liuyanzhao.com](http://forestblog.liuyanzhao.com)
前台效果图
![image](uploads/home.png) @@ -34,7 +20,16 @@
后台地址:/admin 或者 /login
+## 博主提供有偿服务 +- 远程调试环境和运行项目 50-100  (已经有环境了50,需要代安装部分环境软件100) +- 项目论文 100 +- 项目详细讲解视频 100 +- 部署到云服务器 200 +- 项目和部分功能定制 200-500 +- 完整毕业设计定制 1000-1500 +- [更多项目、博主付费商品](https://liuyanzhao.com/shop.html) + ## 使用注意 #### 1.开发工具的选择 请使用 IntelliJ IDEA, 尽量不要用 Eclipse/MyEclipse,使用前者项目起不来我可以帮忙解决,后者直接忽视(理论上可以起) @@ -127,10 +122,9 @@ Github地址:https://github.com/saysky/ForestBlog - 2017年10月10日 - 首次完整提交 -## 请喝一杯奶茶 -请我喝一杯奶茶吧! -插条广告:博主最近有点时间,长期接毕设定制,软件定制,Java问题解决
-具体查看[有偿服务](https://liuyanzhao.com/bulletin/my-service)
+## 广告 +插条广告:博主长期接毕设定制,软件定制,Java问题解决
+具体查看[有偿服务](https://liuyanzhao.com/notice/my-service.html)
博主付费商品:[https://liuyanzhao.com/shop.html](https://liuyanzhao.com/shop.html) -![image](uploads/donate.png) + diff --git a/forest_blog.sql b/forest_blog.sql index f15b4b4e..19b32941 100644 --- a/forest_blog.sql +++ b/forest_blog.sql @@ -1,19 +1,3 @@ -/* - Navicat Premium Data Transfer - - Source Server : localhost_3306 - Source Server Type : MySQL - Source Server Version : 50643 - Source Host : localhost:3306 - Source Schema : forest_blog - - Target Server Type : MySQL - Target Server Version : 50643 - File Encoding : 65001 - - Date: 13/04/2021 13:23:29 -*/ - SET NAMES utf8mb4; SET FOREIGN_KEY_CHECKS = 0; diff --git a/uploads/2017/9/20170914201951167.png b/uploads/2017/9/20170914201951167.png deleted file mode 100644 index 55c4c474..00000000 Binary files a/uploads/2017/9/20170914201951167.png and /dev/null differ diff --git a/uploads/2017/9/20170914202218330.png b/uploads/2017/9/20170914202218330.png deleted file mode 100644 index 55c4c474..00000000 Binary files a/uploads/2017/9/20170914202218330.png and /dev/null differ diff --git a/uploads/2017/9/20170919213840682.png b/uploads/2017/9/20170919213840682.png deleted file mode 100644 index 294185b2..00000000 Binary files a/uploads/2017/9/20170919213840682.png and /dev/null differ diff --git a/uploads/2017/9/20170920210412778.png b/uploads/2017/9/20170920210412778.png deleted file mode 100644 index 294185b2..00000000 Binary files a/uploads/2017/9/20170920210412778.png and /dev/null differ diff --git a/uploads/2017/9/20170922143841757.png b/uploads/2017/9/20170922143841757.png deleted file mode 100644 index 294185b2..00000000 Binary files a/uploads/2017/9/20170922143841757.png and /dev/null differ diff --git a/uploads/2018/11/avatar(1).jpg b/uploads/2018/11/avatar(1).jpg deleted file mode 100644 index cf314e96..00000000 Binary files a/uploads/2018/11/avatar(1).jpg and /dev/null differ diff --git a/uploads/2018/11/avatar(2).jpg b/uploads/2018/11/avatar(2).jpg deleted file mode 100644 index cf314e96..00000000 Binary files a/uploads/2018/11/avatar(2).jpg and /dev/null differ diff --git a/uploads/2018/11/avatar(3).jpg b/uploads/2018/11/avatar(3).jpg deleted file mode 100644 index cf314e96..00000000 Binary files a/uploads/2018/11/avatar(3).jpg and /dev/null differ diff --git a/uploads/2018/8/avatar(1).jpg b/uploads/2018/8/avatar(1).jpg deleted file mode 100644 index cf314e96..00000000 Binary files a/uploads/2018/8/avatar(1).jpg and /dev/null differ diff --git a/uploads/2018/8/avatar(2).jpg b/uploads/2018/8/avatar(2).jpg deleted file mode 100644 index cf314e96..00000000 Binary files a/uploads/2018/8/avatar(2).jpg and /dev/null differ diff --git a/uploads/2018/8/logo(1).png b/uploads/2018/8/logo(1).png deleted file mode 100644 index 35746cdc..00000000 Binary files a/uploads/2018/8/logo(1).png and /dev/null differ