From a544e1bd546860b598f225223dcef08f02f803b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A6=BE=E5=87=A0=E6=B5=B7?= Date: Fri, 1 Oct 2021 22:51:20 +0800 Subject: [PATCH] delete file --- .../application-openSource.properties | 76 ------------------- .../src/main/resources/application.properties | 13 ---- 2 files changed, 89 deletions(-) delete mode 100644 blog-resource/src/main/resources/application-openSource.properties delete mode 100644 blog-resource/src/main/resources/application.properties diff --git a/blog-resource/src/main/resources/application-openSource.properties b/blog-resource/src/main/resources/application-openSource.properties deleted file mode 100644 index d60bca6..0000000 --- a/blog-resource/src/main/resources/application-openSource.properties +++ /dev/null @@ -1,76 +0,0 @@ -server.port=8081 - -# 七牛的密钥配置 -qiniu.accessKey= -qiniu.secretKey= -qiniu.bucket= -# sitemap 存放地址 -sitemap.path= -# 生成JWT时候的密钥 -jwt.secret= - -spring.jpa.show-sql=false -spring.jpa.hibernate.ddl-auto=update -# 上传单个文件的大小 -spring.servlet.multipart.max-file-size=10MB -# 上传文件的总大小 -spring.servlet.multipart.max-request-size=10MB -##null字段不显示 -spring.jackson.default-property-inclusion=non_null - - -################# 数据库 ################## -#请先填写下面的配置 -spring.datasource.type=com.alibaba.druid.pool.DruidDataSource -spring.datasource.url= -spring.datasource.username= -spring.datasource.password= -spring.datasource.driver-class-name=com.mysql.jdbc.Driver -spring.datasource.platform=mysql -# never / always / embedded -spring.datasource.initialization-mode=never -spring.datasource.sql-script-encoding=utf-8 -spring.datasource.schema=classpath:sql/schema.sql -spring.datasource.data=classpath:sql/data.sql - -################ email ############## -#请先填写下面的配置,不然可能运行不起来 -spring.mail.host= -spring.mail.username= -spring.mail.password= -spring.mail.properties.mail.smtp.auth=true -spring.mail.properties.mail.smtp.starttls.enable=true -spring.mail.properties.mail.smtp.starttls.required=true -spring.mail.default-encoding=UTF-8 -spring.mail.port=465 -spring.mail.properties.mail.smtp.socketFactory.port=465 -spring.mail.properties.mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory -spring.mail.properties.mail.smtp.socketFactory.fallback=false - - -#### 用于nginx的代理 获取真实ip -server.use-forward-headers = true -server.tomcat.remote-ip-header = X-Real-IP -server.tomcat.protocol-header = X-Forwarded-Proto - - -############### redis ############## -# REDIS (RedisProperties) -# Redis数据库索引(默认为0) -spring.redis.database=0 -# Redis服务器地址 -spring.redis.host= -# Redis服务器连接端口 -spring.redis.port=6379 -# Redis服务器连接密码(默认为空) -spring.redis.password= -# 连接池最大连接数(使用负值表示没有限制) -spring.redis.jedis.pool.max-active=-1 -# 连接池最大阻塞等待时间(使用负值表示没有限制) -spring.redis.jedis.pool.max-wait=-1 -# 连接池中的最大空闲连接 -spring.redis.jedis.pool.max-idle=8 -# 连接池中的最小空闲连接 -spring.redis.jedis.pool.min-idle=0 -# 连接超时时间(毫秒) -spring.redis.timeout=5000 \ No newline at end of file diff --git a/blog-resource/src/main/resources/application.properties b/blog-resource/src/main/resources/application.properties deleted file mode 100644 index 7832e39..0000000 --- a/blog-resource/src/main/resources/application.properties +++ /dev/null @@ -1,13 +0,0 @@ -spring.profiles.active=prod -####七牛的配置 -####cn.celess.blog.service.serviceimpl.QiniuServiceImpl -logging.level.cn.celess=info -logging.level.cn.celess.common.mapper=info -spring.cache.type=redis -mybatis.mapper-locations=classpath*:mapper/*.xml -mybatis.type-aliases-package=cn.celess.common.entity -pagehelper.helper-dialect=mysql -pagehelper.reasonable=true -pagehelper.support-methods-arguments=true -pagehelper.params=count=countSql -## 修改openSource 添加-test 文件用于测试 -prod文件用于线上发布 \ No newline at end of file