application.yml 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. server:
  2. port: 8087
  3. servlet:
  4. context-path: /device-asset-weixin
  5. spring:
  6. application:
  7. name: device-asset-weixin
  8. devtools:
  9. restart:
  10. enabled: true
  11. aop:
  12. proxy-target-class: true
  13. redis:
  14. host: 172.18.0.23
  15. port: 6379
  16. timeout: 30000
  17. database: 1
  18. password: Ebe1tech/Passw0rd
  19. jedis:
  20. pool:
  21. max-active: 50
  22. max-idle: 5
  23. min-idle: 0
  24. max-wait: -1
  25. jackson:
  26. date-format: yyyy-MM-dd HH:mm:ss
  27. time-zone: GMT+8
  28. datasource:
  29. url: jdbc:mysql://172.18.0.23:3306/rongsheng_qpi?useUnicode=true&characterEncoding=utf-8&useTimezone=true&serverTimezone=GMT%2B8
  30. username: root
  31. password: 1q2w3e4r
  32. driver-class-name: com.mysql.cj.jdbc.Driver
  33. platform: mysql
  34. mybatis-plus:
  35. mapper-locations:
  36. - classpath:/mapper/**/**Mapper.xml
  37. - classpath:/mapper/*Mapper.xml
  38. #实体扫描,多个package用逗号或者分号分隔
  39. typeAliasesPackage: com.ebei.device.task.entity
  40. global-config:
  41. db-config:
  42. dbType: MYSQL
  43. #主键类型 AUTO:"数据库ID自增", INPUT:"用户输入ID", ID_WORKER:"全局唯一ID (数字类型唯一ID)", UUID:"全局唯一ID UUID";
  44. id-type: AUTO
  45. #字段策略IGNORED:"忽略判断",NOT_NULL:"非 NULL 判断"),NOT_EMPTY:"非空判断"
  46. field-strategy: NOT_NULL
  47. #逻辑删除配置(下面3个配置)
  48. logic-delete-value: 0
  49. logic-not-delete-value: 1
  50. configuration:
  51. #驼峰下划线转换
  52. map-underscore-to-camel-case: true
  53. cache-enabled: false
  54. jdbc-type-for-null: 'null'
  55. rule:
  56. receive:
  57. create: true
  58. modify: true
  59. task:
  60. corePoolSize: 10
  61. maxPoolSize: 50
  62. queueCapacity: 10
  63. #非小时任务推送时间
  64. day-message-push: 07:00-18:00
  65. #是否按照计划中的标准生成任务
  66. create-by-standard: off
  67. #schedule 定时器,redis redis失效通知
  68. create-model: redis
  69. mqtt: true
  70. push-url: http://11.223.61.51:5903/MQTTProxy/mqtt_Mqtt_pub.do
  71. comm:
  72. # rtwg-oa-pdf-url: http://101.200.225.123/device/assetApp/createHardwareWebPDF/
  73. rtwg-oa-pdf-url: http://172.18.0.78:8089/device/assetApp/createHardwareWebPDF/
  74. fileServer: http://172.18.0.23/filemanager/FileUploadAndDownloadServlet
  75. white-list:
  76. - /login/*CheckedLoginInfo**
  77. - /login/clearToken**
  78. - /login/updatePassword**
  79. - /filestore/**
  80. - /**error**
  81. - /**swagger-resources/**
  82. - /**webjars/**
  83. - /**swagger-ui.html/**
  84. - /*App/createHardwareWebPDF/**
  85. - /*imge/**