You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
116 lines
3.3 KiB
116 lines
3.3 KiB
spring: |
|
jackson: |
|
date-format: yyyy-MM-dd HH:mm:ss |
|
time-zone: GMT+8 |
|
datasource: |
|
driver-class-name: com.mysql.cj.jdbc.Driver |
|
url: jdbc:mysql://192.168.153.130:3306/my_blog?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&useSSL=false |
|
username: root |
|
password: zfp251217 |
|
jpa: |
|
hibernate: |
|
ddl-auto: update # 更新或者创建数据表结构 如果数据库中没做表,Jpa会我们创建 这个配置就是在没有表的时候创建,实体类发生改变的话 会更新表结构 |
|
show-sql: true |
|
thymeleaf: |
|
# 关闭缓存 |
|
cache: false |
|
# 模版的前缀 |
|
prefix: classpath:/templates/ |
|
# 开启模版的本地check |
|
check-template-location: true |
|
# 模版的后缀 |
|
suffix: .html |
|
# 模版的编码 |
|
encoding: utf-8 |
|
# 响应头的content-Type |
|
servlet: |
|
content-type: text/html |
|
# 模式H5 |
|
mode: HTML5 |
|
servlet: |
|
multipart: |
|
max-file-size: 20MB |
|
cache: |
|
type: ehcache |
|
ehcache: |
|
config: classpath:/ehcache-spring.xml |
|
mail: |
|
# 默认的邮件编码为UTF-8 |
|
default-encoding: UTF-8 |
|
# 邮箱服务器 |
|
host: smtp.qq.com |
|
# 邮箱 |
|
username: 1337425156@qq.com |
|
# 密码 |
|
password: yidyoatxwswwjgjj |
|
# 端口 |
|
port: 587 |
|
# 其它属性,这里只开启debug输出错误信息 |
|
properties: |
|
debug: true |
|
|
|
|
|
logging: |
|
file: |
|
path: ./logs |
|
level: |
|
root: info |
|
# 定义用户上传文件的路径 |
|
upload: |
|
base-dir: ./upload/ |
|
# 网站配置信息 |
|
website: |
|
title: barney的博客 |
|
keywords: |
|
- java |
|
- python |
|
- linux |
|
- blog |
|
- hugo |
|
- SpringBoot |
|
- 学习 |
|
description: All the truth is simple! |
|
domain: http://localhost:8080 #域名 |
|
avatar: https://hugo.bnblogs.cc/images/img/20220215001349.png |
|
nickname: barney |
|
username: admin |
|
password: 0192023a7bbd73250516f069df18b500 |
|
address: 广东 广州 |
|
tags: |
|
- java |
|
- springboot |
|
- web |
|
- 自律 |
|
- 学习 |
|
navdesc: 取乎其上,得乎其中;取乎其中,得乎其下;取乎其下,则无所得矣 |
|
qq: 1337425156 |
|
github: https://git.bnblogs.cc/zfp |
|
sina: https://weibo.com/6289381214 |
|
mail: 1337425156@qq.com |
|
logo: https://cravatar.cn/avatar/a2bc729e1ee6040fff197c705e19d449?s=400&r=G&d=mp&ver=1664632345 |
|
footer: '© 2020-2022 <a href="https://hugo.bnblogs.cc">barney</a><br /><a target="_blank" href="https://beian.miit.gov.cn">赣ICP备2022002184号-1</a> |
|
<a style="margin-left: 10px" target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=11011402012109"><br /><img style="vertical-align: top;" src="https://imagebed-1252410096.cos.ap-nanjing.myqcloud.com/2046/d4ab98835b8842c88eededac6e7c9e35.png"> |
|
赣公网安备 36092202000146号</a>' |
|
default-images: |
|
images: |
|
- /static/image/1.jpg |
|
- /static/image/2.jpg |
|
- /static/image/3.jpg |
|
- /static/image/4.jpg |
|
- /static/image/5.jpg |
|
avatars: |
|
- /static/image/avatar/1.jpg |
|
- /static/image/avatar/2.jpg |
|
- /static/image/avatar/3.jpg |
|
- /static/image/avatar/4.jpg |
|
- /static/image/avatar/5.jpg |
|
- /static/image/avatar/6.jpg |
|
- /static/image/avatar/7.jpg |
|
- /static/image/avatar/8.jpg |
|
- /static/image/avatar/9.jpg |
|
- /static/image/avatar/10.jpg |
|
- /static/image/avatar/11.jpg |
|
- /static/image/avatar/12.jpg |
|
- /static/image/avatar/13.jpg |
|
- /static/image/avatar/14.jpg |
|
|
|
|