application.yaml 665 B

12345678910111213141516171819202122232425262728293031323334
  1. server:
  2. port: 8000
  3. servlet:
  4. context-path: /bailianAi
  5. encoding:
  6. enabled: true
  7. force: true
  8. charset: utf-8
  9. # 数据源配置
  10. spring:
  11. profiles:
  12. active: dev
  13. application:
  14. name: bailian-ai #当前服务的名称
  15. #mybatis-plus配置
  16. mybatis-plus:
  17. mapper-locations: classpath:/mapper/**/*.xml #告诉mybatis数据库映射文件mapper.xml的位置
  18. # configuration:
  19. # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl #显示sql日志
  20. global-config:
  21. db-config:
  22. id-type: auto
  23. #分页配置
  24. pagehelper:
  25. helper-dialect: mysql
  26. reasonable: true
  27. support-methods-arguments: true
  28. params: count=countSql