application-dev.yml 981 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. server:
  2. port: 8108
  3. spring:
  4. application:
  5. name: caimei-mall-admin #指定服务名
  6. #数据源连接--start
  7. datasource:
  8. driverClassName: com.mysql.jdbc.Driver
  9. url: jdbc:mysql://192.168.1.11:3306/caimei@20180509?characterEncoding=UTF8
  10. username: developer
  11. password: 05bZ/OxTB:X+yd%1
  12. #数据源连接--end
  13. #模板引擎配置
  14. thymeleaf:
  15. #路径
  16. prefix: classpath:/templates/
  17. #取消thymeleaf对页面的强制校验
  18. content-type: text/html
  19. mode: LEGACYHTML5
  20. cache: false
  21. #整合mybatis
  22. mybatis:
  23. #加载Mybatis映射文件
  24. mapper-locations: classpath:mapper/*Mapper.xml
  25. #pojo别名扫描包
  26. type-aliases-package: com.caimei.modules.*.entity
  27. #分页配置
  28. pagehelper:
  29. helperDialect: mysql
  30. reasonable: true
  31. supportMethodsArguments: true
  32. params: count=countSql
  33. #日志配置
  34. logging:
  35. file: E:/caimei-mall-admin/catalina.out
  36. level: debug
  37. #自定义配置
  38. malladmin:
  39. domain: https://www.caimei365.com