| server: |
| port: 10010 |
| |
| ## logging |
| logging: |
| level: |
| root: INFO |
| org.springframework.web: TRACE |
| org.springframework.data.jpa: TRACE |
| com.supwisdom.infras.security: DEBUG |
| com.supwisdom.leaveschool: DEBUG |
| |
| spring: |
| application: |
| name: sample-user |
| datasource: |
| driver-class-name: com.mysql.jdbc.Driver |
| url: jdbc:mysql://172.50.10.15:3306/lixiao?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull |
| username: lixiao |
| password: lixiao@1234 |
| jpa: |
| hibernate: |
| ddl-auto: none |
| naming: |
| physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl |
| show-sql: true |
| |
| infras: |
| mvc: |
| # 自定义error输出的例子 |
| custom-error: |
| enabled: true |
| error-map: |
| org.springframework.validation.BindException: Customized Bind Error Reason |
| include-message: true |
| include-errors: true |
| include-error: true |
| include-exception: true |
| include-path: true |
| include-timestamp: true |
| include-status: true |
| data: |
| jpa: |
| basePackages: com.supwisdom.leaveschool.user.repository |