diff --git a/modules/i3plus-core-apiservice/src/main/resources/application-dev.properties b/modules/i3plus-core-apiservice/src/main/resources/application-dev.properties index 8d0e0bf..e9668be 100644 --- a/modules/i3plus-core-apiservice/src/main/resources/application-dev.properties +++ b/modules/i3plus-core-apiservice/src/main/resources/application-dev.properties @@ -166,3 +166,21 @@ spring.zipkin.sender.type=web spring.zipkin.base-url=${impp.console.ip} #追踪深度,百分比,1是全部 spring.sleuth.sampler.probability=1.0 + +################ FastDfs 配置 ################ +#tracker服务器ip +fastdfs.tracker_servers=192.168.1.56:7031 +# tracker的http端口 +fastdfs.http_tracker_http_port=7031 +# 使用自定义工具获取文件展示地址 +fastdfs.http.ui.host=http://dfs.estsh.com +#密码 +#fastdfs.http.secret_key= + +#连接超时 +fastdfs.connect_timeout_in_seconds=5 +#传输超时 +fastdfs.network_timeout_in_seconds=60 +fastdfs.charset=UTF-8 +# token 防盗链功能 +fastdfs.http_anti_steal_token=no \ No newline at end of file diff --git a/modules/i3plus-core-apiservice/src/main/resources/application-docker.properties b/modules/i3plus-core-apiservice/src/main/resources/application-docker.properties index 044a0e0..6f0a297 100644 --- a/modules/i3plus-core-apiservice/src/main/resources/application-docker.properties +++ b/modules/i3plus-core-apiservice/src/main/resources/application-docker.properties @@ -7,7 +7,7 @@ impp.console.ip=http://console:8010 #服务注册中心(多注册中心逗号分隔) impp.cluster.regist.center=http://register:8000/eureka/ #日志默认使用log4j2 -logging.config=classpath:log4j2-spring-dev.xml +logging.config=classpath:log4j2-spring-prod.xml ########平台相关参数########## #是否开启redis缓存 @@ -85,8 +85,6 @@ spring.jpa.show-sql=true #表关系create,create-drop,update,validate spring.jpa.properties.hibernate.hbm2ddl.auto=update - - ##############定时任务持久化############## impp.schedule.open=true impp.schedule.datasource.driver-class-name=com.mysql.jdbc.Driver @@ -166,3 +164,21 @@ spring.zipkin.sender.type=web spring.zipkin.base-url=${impp.console.ip} #追踪深度,百分比,1是全部 spring.sleuth.sampler.probability=1.0 + +################ FastDfs 配置 ################ +#tracker服务器ip +fastdfs.tracker_servers=tracker:7031 +# tracker的http端口 +fastdfs.http_tracker_http_port=7031 +# 使用自定义工具获取文件展示地址 +fastdfs.http.ui.host=http://tracker:7030 +#密码 +#fastdfs.http.secret_key= + +#连接超时 +fastdfs.connect_timeout_in_seconds=5 +#传输超时 +fastdfs.network_timeout_in_seconds=60 +fastdfs.charset=UTF-8 +# token 防盗链功能 +fastdfs.http_anti_steal_token=no \ No newline at end of file diff --git a/modules/i3plus-core-apiservice/src/main/resources/application-prod.properties b/modules/i3plus-core-apiservice/src/main/resources/application-prod.properties index 2f67932..1655b14 100644 --- a/modules/i3plus-core-apiservice/src/main/resources/application-prod.properties +++ b/modules/i3plus-core-apiservice/src/main/resources/application-prod.properties @@ -167,3 +167,22 @@ spring.zipkin.sender.type=web spring.zipkin.base-url=${impp.console.ip} #追踪深度,百分比,1是全部 spring.sleuth.sampler.probability=1.0 + + +################ FastDfs 配置 ################ +#tracker服务器ip +fastdfs.tracker_servers=192.168.1.56:7031 +# tracker的http端口 +fastdfs.http_tracker_http_port=7031 +# 使用自定义工具获取文件展示地址 +fastdfs.http.ui.host=http://dfs.estsh.com +#密码 +#fastdfs.http.secret_key= + +#连接超时 +fastdfs.connect_timeout_in_seconds=5 +#传输超时 +fastdfs.network_timeout_in_seconds=60 +fastdfs.charset=UTF-8 +# token 防盗链功能 +fastdfs.http_anti_steal_token=no \ No newline at end of file diff --git a/modules/i3plus-core-apiservice/src/main/resources/application-test.properties b/modules/i3plus-core-apiservice/src/main/resources/application-test.properties index 4cc14b9..fdd2276 100644 --- a/modules/i3plus-core-apiservice/src/main/resources/application-test.properties +++ b/modules/i3plus-core-apiservice/src/main/resources/application-test.properties @@ -167,3 +167,22 @@ spring.zipkin.sender.type=web spring.zipkin.base-url=${impp.console.ip} #追踪深度,百分比,1是全部 spring.sleuth.sampler.probability=1.0 + + +################ FastDfs 配置 ################ +#tracker服务器ip +fastdfs.tracker_servers=192.168.1.56:7031 +# tracker的http端口 +fastdfs.http_tracker_http_port=7031 +# 使用自定义工具获取文件展示地址 +fastdfs.http.ui.host=http://dfs.estsh.com +#密码 +#fastdfs.http.secret_key= + +#连接超时 +fastdfs.connect_timeout_in_seconds=5 +#传输超时 +fastdfs.network_timeout_in_seconds=60 +fastdfs.charset=UTF-8 +# token 防盗链功能 +fastdfs.http_anti_steal_token=no \ No newline at end of file diff --git a/modules/i3plus-core-apiservice/src/main/resources/fdfs_client.properties b/modules/i3plus-core-apiservice/src/main/resources/fdfs_client.properties deleted file mode 100644 index 84166b1..0000000 --- a/modules/i3plus-core-apiservice/src/main/resources/fdfs_client.properties +++ /dev/null @@ -1,27 +0,0 @@ -#tracker服务器ip -fastdfs.tracker_servers=192.168.1.56:7031 -# tracker的http端口 -fastdfs.http_tracker_http_port=7031 -# 使用自定义工具获取文件展示地址 -fastdfs.http.ui.host=http://dfs.estsh.com -#密码 -#fastdfs.http.secret_key= - -#连接超时 -fastdfs.connect_timeout_in_seconds=5 -#传输超时 -fastdfs.network_timeout_in_seconds=60 -fastdfs.charset=UTF-8 -# token 防盗链功能 -fastdfs.http_anti_steal_token=no - -# V2.0引入的这个参数,工作线程数,通常设置为CPU数 -#fastdfs.work_threads=4 -#设置为true表示开启token验证 -#http.anti_steal.check_token=true -#设置token失效的时间单位为秒(s) -#http.anti_steal.token_ttl=1800 -#密钥,跟客户端配置文件的fastdfs.http_secret_key保持一致 -#http.anti_steal.secret_key=FASTDFS1234567890 -#如果token检查失败,返回的页面 -#http.anti_steal.token_check_fail=/ljzsg/fastdfs/page/403.html \ No newline at end of file