Browse Source

application.yml

tags/V1.6.0^2
douzhenjun 1 year ago
parent
commit
5e90723cdd
2 changed files with 26 additions and 1 deletions
  1. +0
    -1
      .gitignore
  2. +26
    -0
      tuoheng-admin/src/main/resources/application.yml

+ 0
- 1
.gitignore View File

@@ -18,7 +18,6 @@ target/
*.iws
*.iml
*.ipr
tuoheng-admin/src/main/resources/application.yml
### NetBeans ###
/nbproject/private/
/nbbuild/

+ 26
- 0
tuoheng-admin/src/main/resources/application.yml View File

@@ -0,0 +1,26 @@
spring:
profiles:
active: @package.environment@
application:
name: tuoheng-hhz-admin
# 服务模块
devtools:
restart:
# 热部署开关
enabled: false

# 自定义国际化配置
messages:
# 国际化资源文件路径
basename: i18n/messages
encoding: UTF-8
# MyBatis
mybatis-plus:
mapper-locations: classpath*:mapper/*Mapper.xml
# 实体扫描,多个package用逗号或者分号分隔
type-aliases-package: com.tuoheng.**.mapper
configuration:
map-underscore-to-camel-case: true
use-generated-keys: true
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl


Loading…
Cancel
Save