application-devuat.properties 4.2 KB

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