nisbos


配置说明

<table> <thead> <tr> <th><strong>配置文件</strong></th> <th><strong>说明</strong></th> </tr> </thead> <tbody> <tr> <td>application.yml</td> <td>Springboot核心配置文件,包括端口,多环境,mybatis等配置</td> </tr> <tr> <td>application-dev.yml</td> <td>开发环境配置,配置开发环境的数据源、日志处理、redis等</td> </tr> <tr> <td>application-pro.properties</td> <td>生产环境配置,配置开发环境的数据源、日志处理、redis等</td> </tr> </tbody> </table> <pre><code>1、配置application.yml下面的spring.profiles.active=dev来指定使用哪个环境; 2、配置application.yml下面的spring.cache.type切换缓存类型,session支持ehcache和redis;</code></pre>

页面列表

ITEM_HTML