| # 项目信息配置 | 
| project: | 
|   name: 森林公园自行车 | 
|   version: 1.0.0 | 
|   env: development | 
| #  env: production | 
|   | 
| spring: | 
| #  application: | 
| #    name: parkbike | 
|   profiles: | 
|     active: dev | 
|   # JSON返回配置 | 
|   jackson: | 
|     # 默认时区 | 
|     time-zone: GMT+8 | 
|     # 默认日期格式化 | 
|     date-format: yyyy-MM-dd HH:mm:ss | 
|   servlet: | 
|     multipart: | 
|       max-file-size: 1024MB | 
|       max-request-size: 10240MB | 
| # MyBatis配置 | 
| mybatis-plus: | 
|   mapper-locations: classpath*:/mappers/**/*.xml | 
|   configuration: | 
|     map-underscore-to-camel-case: true | 
|   | 
| # 缓存内容设置 | 
| cache: | 
|   session: | 
|     # 会话过期时长(s) | 
|     expire: 18000 | 
|   captcha: | 
|     # 验证码过期时长(s) | 
|     expire: 300 | 
|   | 
| # 跟踪日志 | 
| trace: | 
|   # 开启智能跟踪模式 | 
|   smart: false | 
|   # 排除跟踪的URL正则 | 
|   exclude-patterns: .+/list[a-zA-Z0-9\-\_]*$, .+/tree[a-zA-Z0-9\-\_]*$, .+/page[a-zA-Z0-9\-\_]*$, .+/all[a-zA-Z0-9\-\_]*$, /swagger-resources.* | 
|   | 
|   | 
| # 日志配置 | 
| logback: | 
|   level: INFO | 
|   appender: ${project.env} | 
| # dao层的日志设置为debug,方便查看sql | 
| logging: | 
|   level: | 
|     com.doumee.dao: debug | 
|   | 
| pagehelper: | 
|   # 指定使用的数据库数据库 | 
|   helperDialect: postgresql | 
|   # reasonable:分页合理化参数,默认值为false。当该参数设置为 true 时,pageNum<=0 时会查询第一页,         pageNum>pages(超过总数时),会查询最后一页。默认false 时,直接根据参数进行查询。 | 
|   reasonable: true | 
|   | 
|   # WEB服务器配置 | 
| server: | 
|    port: 10025 | 
|   | 
| mqtt: | 
|   clientid: doumeeweb | 
|   subclientid: doumeewebSub | 
|   | 
| jt-server: | 
|   jt808: | 
|     enable: true | 
|     port: | 
|       udp: 7611 | 
|       tcp: 7611 | 
|     media-file: | 
|       path: D:/jt_data/media_file | 
|     alarm-file: | 
|       host: 127.0.0.1 | 
|       port: 7612 | 
|   | 
|   alarm-file: | 
|     enable: true | 
|     port: 7612 | 
|     path: D:/jt_data/alarm_file |