| | |
| | | swagger: |
| | | enabled: true |
| | | |
| | | # 日志配置 |
| | | logging: |
| | | config: classpath:logback-spring.xml |
| | | # 日志存储路径+++++++++++++++++++++++++++运维需要配置+++++++++++++++++++++++++++ |
| | | file-location: log |
| | | |
| | | # 数据库备份路径 |
| | | backup: |
| | | # 数据库备份路径+++++++++++++++++++++++++++运维需要配置+++++++++++++++++++++++++++ |
| | | path: E:/webapp/backup |
| | | # 数据库备份天数 |
| | | destiny: 7 |
| | | # 数据库备份工具路径+++++++++++++++++++++++++++运维需要配置+++++++++++++++++++++++++++ |
| | | mysqldump: E:\JavaCode\WMS\WMS_Admin\src\main\resources |
| | | |
| | | # 照片存储路径+++++++++++++++++++++++++++运维需要配置+++++++++++++++++++++++++++ |
| | | file: |
| | | path: E:/webapp/images |
| | | # 上传文件允许的扩展名 |
| | | allowed: png,jpg,jpeg,gif |
| | | |
| | | # 鵷雏管理系统密钥 |
| | | login: |
| | | userID: c8b1aaacec366c24e5d18c7eea9e551b |
| | | secret: 701C85FCE0F7CFD714C2052D77098DC7f407b0ee79210bcef51787a0eb8ec7a5 |
| | | |
| | | # 鵷雏网络IP或者域名 |
| | | customer: |
| | | url: http://114.132.189.42:8011 |
| | | |
| | | mybatis-plus: |
| | | configuration: |
| | | log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 开启mybatis-plus日志 |
| | | |
| | | logging: |
| | | config: classpath:logback-spring.xml |
| | | |
| | | # 数据源配置 |
| | | spring: |
| | | datasource: |
| | | type: com.alibaba.druid.pool.DruidDataSource |
| | | driverClassName: com.mysql.cj.jdbc.Driver |
| | | url: jdbc:mysql://localhost:3306/lims_manage?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8 |
| | | username: root |
| | | url: jdbc:mysql://192.168.0.22:3306/lims_laboratory?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8 |
| | | username: user |
| | | password: 123456 |
| | | # url: jdbc:mysql://localhost:3306/lims_laboratory?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8 |
| | | # username: root |
| | | # password: 123456 |
| | | druid: |
| | | # Druid数据源配置 |
| | | initialSize: 5 # 初始连接数 |
| | |
| | | filters: stat,wall,log4j # 配置监控统计拦截的filters,去掉后监控界面sql无法统计,'wall'用于防火墙 |
| | | useGlobalDataSourceStat: true #合并多个DruidDatasource的监控数据 |
| | | connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=500; #通过connectProperties属性来打开mergesql功能罗慢sQL记录 |
| | | |
| | | |
| | | redis: |
| | | # redis数据库索引(默认为0),我们使用索引为3的数据库,避免和其他数据库冲突 |
| | | database: 0 |
| | | # redis服务器地址(默认为loaclhost) |
| | | host: 127.0.0.1 |
| | | # redis端口(默认为6379) |
| | | port: 6379 |
| | | # redis访问密码(默认为空) |
| | | # password: |
| | | # redis连接超时时间(单位毫秒) |
| | | timeout: 0 |
| | | # redis连接池配置 |
| | | pool: |
| | | # 最大可用连接数(默认为8,负数表示无限) |
| | | max-active: 8 |
| | | # 最大空闲连接数(默认为8,负数表示无限) |
| | | max-idle: 8 |
| | | # 最小空闲连接数(默认为0,该值只有为正数才有用) |
| | | min-idle: 0 |
| | | # 从连接池中获取连接最大等待时间(默认为-1,单位为毫秒,负数表示无限) |
| | | max-wait: -1 |
| | | redis: |
| | | # redis数据库索引(默认为0),我们使用索引为3的数据库,避免和其他数据库冲突 |
| | | database: 0 |
| | | # redis服务器地址(默认为localhost) |
| | | # host: 192.168.110.209 |
| | | host: 192.168.0.22 |
| | | # redis端口(默认为6379) |
| | | port: 6379 |
| | | # redis访问密码(默认为空) |
| | | password: null |
| | | # redis连接超时时间(单位毫秒) |
| | | timeout: 20 |
| | | # redis连接池配置 |
| | | pool: |
| | | # 最大可用连接数(默认为8,负数表示无限) |
| | | max-active: 20 |
| | | # 最大空闲连接数(默认为8,负数表示无限) |
| | | max-idle: 8 |
| | | # 最小空闲连接数(默认为0,该值只有为正数才有用) |
| | | min-idle: 5 |
| | | # 从连接池中获取连接最大等待时间(默认为-1,单位为毫秒,负数表示无限) |
| | | max-wait: -1 |
| | | |