|
@@ -0,0 +1,108 @@
|
|
|
+server.port=8089
|
|
|
+server.file.location=/web-shared/OneKeyDecorate/
|
|
|
+upload.file.location=${server.file.location}upload/
|
|
|
+spring.session.store-type=REDIS
|
|
|
+#log
|
|
|
+logging.file.path=/usr/local/tomcat-renovation-8088/logs/
|
|
|
+logging.config=classpath:logback-spring.xml
|
|
|
+logging.level.com.fdkk=debug
|
|
|
+#thymeleaf配置
|
|
|
+spring.thymeleaf.enabled=true
|
|
|
+spring.thymeleaf.prefix=classpath:/templates/
|
|
|
+spring.thymeleaf.suffix=.html
|
|
|
+spring.thymeleaf.mode=HTML5
|
|
|
+spring.thymeleaf.cache=false
|
|
|
+spring.thymeleaf.servlet.content-type=text/html
|
|
|
+spring.servlet.multipart.max-file-size=500MB
|
|
|
+spring.servlet.multipart.max-request-size=500MB
|
|
|
+spring.servlet.multipart.enabled=true
|
|
|
+spring.mvc.async.request-timeout=600000
|
|
|
+spring.web.static-locations=classpath:/META-INF/resources/,classpath:/data/, classpath:/static/, file:${server.file.location}
|
|
|
+#数据库配置
|
|
|
+spring.datasource.url=jdbc:mysql://localhost:3306/change_clothes?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8
|
|
|
+spring.datasource.username=root
|
|
|
+spring.datasource.password=4dyjkz%
|
|
|
+# Hikari will use the above plus the following to setup connection pooling
|
|
|
+spring.datasource.type=com.zaxxer.hikari.HikariDataSource
|
|
|
+spring.datasource.hikari.minimum-idle=5
|
|
|
+spring.datasource.hikari.maximum-pool-size=15
|
|
|
+spring.datasource.hikari.auto-commit=true
|
|
|
+spring.datasource.hikari.idle-timeout=30000
|
|
|
+spring.datasource.hikari.pool-name=DatebookHikariCP
|
|
|
+spring.datasource.hikari.max-lifetime=1800000
|
|
|
+spring.datasource.hikari.connection-timeout=30000
|
|
|
+#rabbitmq
|
|
|
+spring.rabbitmq.host=192.168.0.47
|
|
|
+spring.rabbitmq.port=5672
|
|
|
+spring.rabbitmq.apiport=15672
|
|
|
+spring.rabbitmq.username=admin
|
|
|
+spring.rabbitmq.password=sxz12341
|
|
|
+##??????
|
|
|
+spring.rabbitmq.listener.simple.retry.max-attempts=3
|
|
|
+##???????????false????????????????????????????
|
|
|
+spring.rabbitmq.listener.simple.retry.enabled=true
|
|
|
+## ????????????
|
|
|
+spring.rabbitmq.listener.simple.retry.initial-interval=5000
|
|
|
+## ??????????????????false??????????????????????
|
|
|
+spring.rabbitmq.listener.simple.default-requeue-rejected=false
|
|
|
+##mybatis-plus配置 ##
|
|
|
+mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.slf4j.Slf4jImpl
|
|
|
+mybatis-plus.configuration.map-underscore-to-camel-case=true
|
|
|
+mybatis-plus.global-config.db-config.db-type=mysql
|
|
|
+mybatis-plus.global-config.db-config.field-strategy=not_null
|
|
|
+mybatis-plus.global-config.db-config.id-type=auto
|
|
|
+mybatis-plus.global-config.db-config.logic-delete-field=rec_status
|
|
|
+mybatis-plus.global-config.db-config.logic-delete-value=A
|
|
|
+mybatis-plus.global-config.db-config.logic-not-delete-value=I
|
|
|
+mybatis-plus.global-config.db-config.table-prefix=t_
|
|
|
+mybatis-plus.global-config.db-config.table-underline=true
|
|
|
+mybatis-plus.mapper-locations=classpath*:/mapper/*.xml
|
|
|
+## pagehelper分页插件配置 ##
|
|
|
+#标识是哪一种数据库
|
|
|
+pagehelper.helperDialect=mysql
|
|
|
+#启用合理化,如果pageNum<1会查询第一页,如果pageNum>pages会查询最后一页
|
|
|
+pagehelper.reasonable=true
|
|
|
+#为了支持startPage(Object params)方法,增加了该参数来配置参数映射,用于从对象中根据属性名取值, 可以配置pageNum,pageSize,count,pageSizeZero,reasonable,不配置映射的用默认值, 默认值为pageNum=pageNum;pageSize=pageSize;count=countSql;reasonable=reasonable;pageSizeZero=pageSizeZero
|
|
|
+pagehelper.params=count=countSql
|
|
|
+#支持通过 Mapper 接口参数来传递分页参数,默认值false,分页插件会从查询方法的参数值中,自动根据上面 params 配置的字段中取值,查找到合适的值时就会自动分页
|
|
|
+pagehelper.support-methods-arguments=true
|
|
|
+#如果 pageSize=0 就会查询出全部的结果(相当于没有执行分页查询)
|
|
|
+pagehelper.page-size-zero=true
|
|
|
+#redis
|
|
|
+j2cache.config-location=classpath:/config/j2cache.properties
|
|
|
+j2cache.open-spring-cache=true
|
|
|
+j2cache.j2CacheConfig.serialization=fastjson
|
|
|
+j2cache.cache-clean-mode=active
|
|
|
+j2cache.redis-client=lettuce
|
|
|
+j2cache.j2CacheConfig.hosts=192.168.0.47:6379
|
|
|
+j2cache.j2CacheConfig.password=
|
|
|
+j2cache.j2CacheConfig.database=15
|
|
|
+oss.point=http://oss-cn-shenzhen.aliyuncs.com
|
|
|
+oss.key=LTAIUrvuHqj8pvry
|
|
|
+oss.secrey=JLOVl0k8Ke0aaM8nLMMiUAZ3EiiqI4
|
|
|
+oss.bucket=4dkankan
|
|
|
+#oss类型为oss(阿里云)或s3(亚马逊)
|
|
|
+oss.type=oss
|
|
|
+#prefix.ali=https://houseoss.4dkankan.com/
|
|
|
+#main.url=https://www.4dkankan.com/
|
|
|
+#build.url=http://221.4.210.172:28100/
|
|
|
+#light.build.url=http://221.4.210.172:28100/
|
|
|
+#model.build.url=http://221.4.210.172:28100/
|
|
|
+##.max转datasmith和obj加减面url
|
|
|
+#max.obj.url=http://120.78.65.189:8080/
|
|
|
+#maxToDatasmith.url=http://192.168.0.75:8001/
|
|
|
+prefix.ali=https://houseoss.4dkankan.com/
|
|
|
+main.url=https://www.4dkankan.com/
|
|
|
+build.url=http://101.66.188.5:8100/
|
|
|
+light.build.url=http://101.66.188.5:8100/
|
|
|
+model.build.url=http://101.66.188.5:8100/
|
|
|
+#.max转datasmith和obj加减面url
|
|
|
+max.obj.url=http://120.78.65.189:8080/
|
|
|
+maxToDatasmith.url=http://120.78.65.189:8080/
|
|
|
+#缓存接口日志时间(单位小时)
|
|
|
+logsTimeOut=8
|
|
|
+driveLetter=Z:
|
|
|
+#雪花ID生成终端ID
|
|
|
+snowflake.wordId=1
|
|
|
+ws.port=8123
|
|
|
+local.network.url=http://192.168.0.49:5000/
|