application-uat.properties 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. server.port=8088
  2. server.file.location=/web-shared/OneKeyDecorate/
  3. upload.file.location=${server.file.location}upload/
  4. spring.session.store-type=REDIS
  5. #log
  6. logging.file.path=/mnt/change/logs/
  7. logging.config=classpath:logback-spring.xml
  8. logging.level.com.fdkk=debug
  9. #thymeleaf配置
  10. spring.thymeleaf.enabled=true
  11. spring.thymeleaf.prefix=classpath:/templates/
  12. spring.thymeleaf.suffix=.html
  13. spring.thymeleaf.mode=HTML5
  14. spring.thymeleaf.cache=false
  15. spring.thymeleaf.servlet.content-type=text/html
  16. spring.servlet.multipart.max-file-size=500MB
  17. spring.servlet.multipart.max-request-size=500MB
  18. spring.servlet.multipart.enabled=true
  19. spring.mvc.async.request-timeout=600000
  20. spring.web.resources.static-locations=classpath:/META-INF/resources/,classpath:/resources/, classpath:/static/, file:${server.file.location},file:${upload.file.location}
  21. #数据库配置
  22. spring.datasource.url=jdbc:mysql://192.168.0.47:3306/change_clothes?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8
  23. spring.datasource.username=root
  24. spring.datasource.password=123123
  25. # Hikari will use the above plus the following to setup connection pooling
  26. spring.datasource.type=com.zaxxer.hikari.HikariDataSource
  27. spring.datasource.hikari.minimum-idle=5
  28. spring.datasource.hikari.maximum-pool-size=15
  29. spring.datasource.hikari.auto-commit=true
  30. spring.datasource.hikari.idle-timeout=30000
  31. spring.datasource.hikari.pool-name=DatebookHikariCP
  32. spring.datasource.hikari.max-lifetime=1800000
  33. spring.datasource.hikari.connection-timeout=30000
  34. #rabbitmq
  35. spring.rabbitmq.host=192.168.0.47
  36. spring.rabbitmq.port=5672
  37. spring.rabbitmq.apiport=15672
  38. spring.rabbitmq.username=guest
  39. spring.rabbitmq.password=guest
  40. ##??????
  41. spring.rabbitmq.listener.simple.retry.max-attempts=3
  42. ##???????????false????????????????????????????
  43. spring.rabbitmq.listener.simple.retry.enabled=true
  44. ## ????????????
  45. spring.rabbitmq.listener.simple.retry.initial-interval=5000
  46. ## ??????????????????false??????????????????????
  47. spring.rabbitmq.listener.simple.default-requeue-rejected=false
  48. ##mybatis-plus配置 ##
  49. mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.slf4j.Slf4jImpl
  50. mybatis-plus.configuration.map-underscore-to-camel-case=true
  51. mybatis-plus.global-config.db-config.db-type=mysql
  52. mybatis-plus.global-config.db-config.field-strategy=not_null
  53. mybatis-plus.global-config.db-config.id-type=auto
  54. mybatis-plus.global-config.db-config.logic-delete-field=rec_status
  55. mybatis-plus.global-config.db-config.logic-delete-value=A
  56. mybatis-plus.global-config.db-config.logic-not-delete-value=I
  57. mybatis-plus.global-config.db-config.table-prefix=t_
  58. mybatis-plus.global-config.db-config.table-underline=true
  59. mybatis-plus.mapper-locations=classpath*:/mapper/*.xml
  60. ## pagehelper分页插件配置 ##
  61. #标识是哪一种数据库
  62. pagehelper.helperDialect=mysql
  63. #启用合理化,如果pageNum<1会查询第一页,如果pageNum>pages会查询最后一页
  64. pagehelper.reasonable=true
  65. #为了支持startPage(Object params)方法,增加了该参数来配置参数映射,用于从对象中根据属性名取值, 可以配置pageNum,pageSize,count,pageSizeZero,reasonable,不配置映射的用默认值, 默认值为pageNum=pageNum;pageSize=pageSize;count=countSql;reasonable=reasonable;pageSizeZero=pageSizeZero
  66. pagehelper.params=count=countSql
  67. #支持通过 Mapper 接口参数来传递分页参数,默认值false,分页插件会从查询方法的参数值中,自动根据上面 params 配置的字段中取值,查找到合适的值时就会自动分页
  68. pagehelper.support-methods-arguments=true
  69. #如果 pageSize=0 就会查询出全部的结果(相当于没有执行分页查询)
  70. pagehelper.page-size-zero=true
  71. #redis
  72. j2cache.config-location=classpath:/config/j2cache.properties
  73. j2cache.open-spring-cache=true
  74. j2cache.j2CacheConfig.serialization=fastjson
  75. j2cache.cache-clean-mode=active
  76. j2cache.redis-client=lettuce
  77. j2cache.j2CacheConfig.hosts=192.168.0.47:6379
  78. j2cache.j2CacheConfig.password=
  79. j2cache.j2CacheConfig.database=15
  80. oss.point=http://oss-cn-shenzhen.aliyuncs.com
  81. oss.key=LTAIUrvuHqj8pvry
  82. oss.secrey=JLOVl0k8Ke0aaM8nLMMiUAZ3EiiqI4
  83. oss.bucket=4dkankan
  84. #oss类型为oss(阿里云)或s3(亚马逊)
  85. oss.type=oss
  86. prefix.ali=https://houseoss.4dkankan.com/
  87. main.url=https://test.4dkankan.com/
  88. build.url=http://192.168.0.49:8100/
  89. light.build.url=http://192.168.0.49:5000/
  90. model.build.url=http://192.168.0.49:5000/
  91. #.max转datasmith和obj加减面url
  92. max.obj.url=http://192.168.0.75:8080/
  93. maxToDatasmith.url=http://192.168.0.75:8001/
  94. dingding.warning.address=https://oapi.dingtalk.com/robot/send?access_token=13ae02d6821a56ce86c3e6ad98d0260896eba5888a9bd18aed141c39f11299a8
  95. #缓存接口日志时间(单位小时)
  96. logsTimeOut=8
  97. driveLetter=Z:
  98. server.tomcat.basedir=/mnt/tomcatTmp
  99. #雪花ID生成终端ID
  100. snowflake.wordId=1
  101. ws.port=8123
  102. local.network.url=http://192.168.0.49:5000/