blob: 8700f090b579104a22fbf7d5f5f8f3109a491f39 [file] [log] [blame]
bin.zhangc9726182018-08-22 17:14:28 +08001server:
2 port: 10011
3
4## logging
5logging:
6 level:
7 root: INFO
8 org.springframework.web: TRACE
9 org.springframework.data.jpa: TRACE
10 com.supwisdom.infras.security: DEBUG
11 com.supwisdom.leaveschool: DEBUG
12
13spring:
14 application:
bin.zhangfb54eee2018-08-27 14:04:58 +080015 name: leaving
bin.zhangc9726182018-08-22 17:14:28 +080016 datasource:
17 driver-class-name: com.mysql.jdbc.Driver
bin.zhang89841132018-08-27 18:04:21 +080018 #url: jdbc:mysql://172.50.10.15:3306/leave_school?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull
19 url: jdbc:mysql://172.18.101.207:3306/leave_school?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull
bin.zhangfb54eee2018-08-27 14:04:58 +080020 username: leave_school
21 password: 111111
bin.zhangc9726182018-08-22 17:14:28 +080022 jpa:
23 hibernate:
bin.zhang86333de2018-08-27 18:10:59 +080024 ddl-auto: update
bin.zhangc9726182018-08-22 17:14:28 +080025 naming:
26 physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
bin.zhangfb54eee2018-08-27 14:04:58 +080027 database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
bin.zhangc9726182018-08-22 17:14:28 +080028 show-sql: true
29
30infras:
31 mvc:
32# 自定义error输出的例子
33 custom-error:
34 enabled: true
35 error-map:
36 org.springframework.validation.BindException: Customized Bind Error Reason
37 include-message: true
38 include-errors: true
39 include-error: true
40 include-exception: true
41 include-path: true
42 include-timestamp: true
43 include-status: true
44 data:
45 jpa:
46 basePackages: com.supwisdom.leaveschool.leaving.repository