增加网络图片本地化开关,可选择使用网络图片还是本地图片

This commit is contained in:
xiongxiaoyang
2019-12-06 09:11:58 +08:00
parent daab096d9f
commit becbb86179
4 changed files with 98 additions and 5 deletions

View File

@@ -4,8 +4,8 @@ server:
spring:
datasource:
url: jdbc:mysql://127.0.0.1:3306/books?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
username: books
password: books
username: root
password: test123456
# url: jdbc:mysql://127.0.0.1:3306/books?useUnicode=true&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
# username: root
# password: test123456
@@ -71,6 +71,15 @@ crawl:
website:
type: 2
pic:
save:
type: 1 #图片保存方式, 1不保存使用网络图片 2本地保存
path: d:/pic #图片保存路径
search:
schedule:
isRunExcute: 0;