Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
智布道
OneBlog
比较版本
5dceff2064e71d2c639586397cc8ba22bc3c2919...d64a067c5a51ab340e9927854f5249c9d53c101a
O
OneBlog
项目概览
智布道
/
OneBlog
8 个月 前同步成功
通知
11
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
OneBlog
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
源分支
d64a067c5a51ab340e9927854f5249c9d53c101a
选择Git版本
...
目标分支
5dceff2064e71d2c639586397cc8ba22bc3c2919
选择Git版本
比较
Commits (6)
https://gitcode.net/u011197448/oneblog/-/commit/f7202c091b6bde29d019ddcd0aa1f3899629ae03
修复目录过长不支持滚动的bug
2021-08-14T02:44:30+00:00
wanglei
15112125687@163.com
https://gitcode.net/u011197448/oneblog/-/commit/827db263286631303004d94f70be0ba895a0b24a
!1 修复目录过长不支持滚动的bug
2021-08-14T02:44:59+00:00
wanglei
15112125687@163.com
Merge pull request !1 from wanglei/N/A
https://gitcode.net/u011197448/oneblog/-/commit/402eeb6378f4eb858aa190aebe613d6f3dea3dd0
!31 修复目录不支持滚动的bug
2021-08-14T05:54:18+00:00
yadong.zhang
yadong.zhang0415@gmail.com
Merge pull request !31 from wanglei/master
https://gitcode.net/u011197448/oneblog/-/commit/f151a0c3bfb738284e3f5d99a5c867a1a604d89c
spring.mail 添加默认值,否则报错
2021-08-17T17:08:40+08:00
yadong.zhang
yadong.zhang0415@gmail.com
https://gitcode.net/u011197448/oneblog/-/commit/ce75749d45620c1ca32ad01b80b364b1cf9d84e3
Merge branch 'master' of gitee.com:yadong.zhang/DBlog
2021-08-17T17:09:15+08:00
yadong.zhang
yadong.zhang0415@gmail.com
https://gitcode.net/u011197448/oneblog/-/commit/d64a067c5a51ab340e9927854f5249c9d53c101a
:memo: 编写文档
2021-08-17T18:26:19+08:00
yadong.zhang
yadong.zhang0415@gmail.com
隐藏空白更改
内联
并排
Showing
5 changed file
with
10 addition
and
10 deletion
+10
-10
README.md
README.md
+2
-2
blog-admin/src/main/resources/logback-spring.xml
blog-admin/src/main/resources/logback-spring.xml
+1
-1
blog-core/src/main/resources/config/application-center.yml
blog-core/src/main/resources/config/application-center.yml
+3
-3
blog-web/src/main/resources/templates/layout/sidebar.ftl
blog-web/src/main/resources/templates/layout/sidebar.ftl
+1
-1
pom.xml
pom.xml
+3
-3
未找到文件。
README.md
浏览文件 @
d64a067c
...
...
@@ -119,8 +119,8 @@ ps: 虽然我知道,大部分人都是来了**直接下载源代码**后就潇
1.
使用IDE导入本项目
2.
新建数据库
`CREATE DATABASE dblog;`
3.
导入数据库
`docs/d
b
/dblog.sql`
4.
初始化数据库
`docs/d
b
/init_data.sql`
3.
导入数据库
`docs/d
ocker/mysql
/dblog.sql`
4.
初始化数据库
`docs/d
ocker/mysql
/init_data.sql`
5.
修改配置文件
1.
数据库链接属性(在
`[blog-core]/resources/config/application-center-{env}.yml`
配置文件中搜索
`datasource`
或定位到L.5)
2.
redis配置(在
`[blog-core]/resources/config/application-center-{env}.yml`
配置文件中搜索
`redis`
或定位到L.14)
...
...
blog-admin/src/main/resources/logback-spring.xml
浏览文件 @
d64a067c
...
...
@@ -32,7 +32,7 @@
<!-- 测试环境+开发环境,日志级别为INFO且不写日志文件 -->
<springProfile
name=
"dev"
>
<root
level=
"
INFO
"
>
<root
level=
"
DEDBUG
"
>
<appender-ref
ref=
"STDOUT"
/>
</root>
</springProfile>
...
...
blog-core/src/main/resources/config/application-center.yml
浏览文件 @
d64a067c
...
...
@@ -5,12 +5,12 @@ spring:
# 指定SMTP server使用的协议,默认为: smtp
protocol
:
smtp
# 指定SMTP server host.
host
:
${ONEBLOG_MAIL_HOST}
host
:
${ONEBLOG_MAIL_HOST
:x
}
port
:
${ONEBLOG_MAIL_PORT:465}
# 指定SMTP server的用户名.
username
:
${ONEBLOG_MAIL_USERNAME}
username
:
${ONEBLOG_MAIL_USERNAME
:x
}
# 指定SMTP server登录密码:
password
:
${ONEBLOG_MAIL_PASSWORD}
password
:
${ONEBLOG_MAIL_PASSWORD
:x
}
# 指定是否在启动时测试邮件服务器连接,默认为false
test-connection
:
false
properties
:
...
...
blog-web/src/main/resources/templates/layout/sidebar.ftl
浏览文件 @
d64a067c
...
...
@@ -48,7 +48,7 @@
</#if>
<div class="sidebar-module article-module hide" style="top: 0;">
<h5 class="custom-title"><i class="fa fa-book fa-fw icon"></i><strong>本文目录</strong><i class="fa fa-close pull-right close-article-menu hide pointer"></i><small></small></h5>
<div id="article-menu">
<div id="article-menu"
style="overflow:auto"
>
<ul class="list-unstyled"></ul>
</div>
</div>
...
...
pom.xml
浏览文件 @
d64a067c
...
...
@@ -35,9 +35,9 @@
<hibernate.validator.version>
6.0.9.Final
</hibernate.validator.version>
<tomcat.version>
8.5.57
</tomcat.version>
<excel4j.version>
2.1.4-Final
</excel4j.version>
<mybatis.version>
1.3.2
</mybatis.version>
<mapper.version>
2.1.
0
</mapper.version>
<pagehelper.version>
1.
2.3
</pagehelper.version>
<mybatis.version>
2.1.4
</mybatis.version>
<mapper.version>
2.1.
5
</mapper.version>
<pagehelper.version>
1.
3.0
</pagehelper.version>
<druid.version>
1.1.10
</druid.version>
<fastjson.version>
1.2.76
</fastjson.version>
<shiro.spring.version>
1.7.1
</shiro.spring.version>
...
...