| | |
| | | # 开发环境配置 |
| | | server: |
| | | # 服务器的HTTP端口,默认为8090 |
| | | port: 8091 |
| | | port: 8219 |
| | | tomcat: |
| | | # tomcat的URI编码 |
| | | uri-encoding: UTF-8 |
| | |
| | | min-spare: 100 |
| | | # 日志配置 |
| | | logging: |
| | | file: |
| | | encoding: UTF-8 |
| | | level: |
| | | com.ruoyi: debug |
| | | org.springframework: warn |
| | |
| | | urlPatterns: /system/*,/monitor/*,/tool/* |
| | | spring: |
| | | jackson: |
| | | date-format: yyyy-MM-dd HH:mm:ss |
| | | time-zone: Asia/Kolkata |
| | | profiles: |
| | | active: druid |
| | |
| | | devtools: |
| | | restart: |
| | | # 热部署开关 |
| | | enabled: true |
| | | enabled: false |
| | | freemarker: |
| | | cache: false #false 页面不设置缓存,更改及生效! |
| | | |
| | |
| | | # 端口,默认为6379 |
| | | port: 6379 |
| | | # 数据库索引 |
| | | database: 0 |
| | | database: 6 |
| | | # 密码 |
| | | password: |
| | | # 连接超时时间 |
| | |
| | | datasource: |
| | | type: com.alibaba.druid.pool.DruidDataSource |
| | | driverClassName: com.mysql.cj.jdbc.Driver |
| | | url: jdbc:mysql://127.0.0.1:3306/stock?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 |
| | | # url: jdbc:mysql://127.0.0.1:3306/cgstock?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 |
| | | username: root |
| | | password: 123456 |
| | | #url: jdbc:mysql://127.0.0.1:6306/stock_ci?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 |
| | | url: jdbc:mysql://127.0.0.1:3306/stock-dg?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 |
| | | username: stock-dg |
| | | password: MzrpGcasJDd5Bfsa |
| | | druid: |
| | | # 初始连接数 |
| | | initialSize: 5 |
| | |
| | | wall: |
| | | config: |
| | | multi-statement-allow: false |
| | | jpa: |
| | | hibernate: |
| | | ddl-auto: none # 可选值: create, create-drop, update, validate, none |
| | | show-sql: false # 显示SQL语句 |
| | | properties: |
| | | hibernate.format_sql: true # 格式化SQL语句 |