blob: 4981a8010cfacecdcdcf5a1c0f5ebe100aa1b611 [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.zhang3a42d632018-08-29 12:18:40 +080018 url: jdbc:mysql://180.166.150.114:9512/leave_school?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull
bin.zhang89841132018-08-27 18:04:21 +080019 #url: jdbc:mysql://172.50.10.15:3306/leave_school?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull
bin.zhang3a42d632018-08-29 12:18:40 +080020 #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 +080021 username: leave_school
22 password: 111111
bin.zhangc9726182018-08-22 17:14:28 +080023 jpa:
24 hibernate:
bin.zhang39012b12018-08-29 11:26:57 +080025 ddl-auto: none
bin.zhangc9726182018-08-22 17:14:28 +080026 naming:
27 physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
bin.zhangfb54eee2018-08-27 14:04:58 +080028 database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
bin.zhangc9726182018-08-22 17:14:28 +080029 show-sql: true
30
31infras:
32 mvc:
33# 自定义error输出的例子
34 custom-error:
35 enabled: true
36 error-map:
37 org.springframework.validation.BindException: Customized Bind Error Reason
38 include-message: true
39 include-errors: true
40 include-error: true
41 include-exception: true
42 include-path: true
43 include-timestamp: true
44 include-status: true
45 data:
46 jpa:
47 basePackages: com.supwisdom.leaveschool.leaving.repository