application.yml 551 B

12345678910111213141516171819202122
  1. spring:
  2. application:
  3. name: goods-service
  4. jackson:
  5. default-property-inclusion: non_null #如果值为null,构造json时不加入
  6. date-format: yyyy-MM-dd HH:mm #指定Json中Date对象的传输格式.对于DTO还是使用以往的方式
  7. locale: zh_CN
  8. time-zone: Asia/Shanghai
  9. profiles:
  10. active: ${SPRING_PROFILE_ACTIVE:dev}
  11. mybatis:
  12. configuration:
  13. map-underscore-to-camel-case: true
  14. logging:
  15. level:
  16. org.springframework.web: info
  17. io.github.nnkwrik.goodsservice: debug
  18. jwt:
  19. pub-key-file-name: RSA.pub