| | |
| | | # 开发环境配置 |
| | | server: |
| | | # 服务器的HTTP端口,默认为8080 |
| | | port: 8001 |
| | | port: 8002 |
| | | servlet: |
| | | # 应用的访问路径 |
| | | context-path: / |
| | |
| | | swagger: |
| | | # 是否开启swagger |
| | | enabled: true |
| | | # 请求前缀 |
| | | pathMapping: /dev-api |
| | | |
| | | # 防止XSS攻击 |
| | | xss: |
| | |
| | | excludes: /system/notice |
| | | # 匹配链接 |
| | | urlPatterns: /system/*,/monitor/*,/tool/* |
| | | |
| | | # mybatis-plus配置 |
| | | mybatis-plus: |
| | | mapper-locations: classpath*:mapper/**/*Mapper.xml |
| | | type-aliases-package: com.ruoyi.**.domain |
| | | global-config: |
| | | banner: off |
| | | db-config: |
| | | id-type: auto |
| | | configuration: |
| | | map-underscore-to-camel-case: true |
| | | cache-enabled: false |
| | | log-impl: # org.apache.ibatis.logging.stdout.StdOutImpl |
| | | |