application-prod.yml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. server:
  2. port: 8107
  3. spring:
  4. application:
  5. name: caimei-starstyle #指定服务名
  6. #数据源连接--start
  7. datasource:
  8. url: jdbc:mysql://10.104.172.219:3306/caimei?characterEncoding=UTF8
  9. username: developer
  10. password: diKtPYZ'wToI&9#L
  11. #数据源连接--end
  12. #模板引擎配置
  13. thymeleaf:
  14. #路径
  15. prefix: classpath:/templates/
  16. #取消thymeleaf对页面的强制校验
  17. content-type: text/html
  18. mode: LEGACYHTML5
  19. cache: false
  20. #整合mybatis
  21. mybatis:
  22. #加载Mybatis映射文件
  23. mapper-locations:
  24. - classpath:mapper/*.xml
  25. - classpath:caimei-search-mapper/*Mapper.xml
  26. #pojo别名扫描包
  27. type-aliases-package: com.caimei.entity
  28. #分页配置
  29. pagehelper:
  30. helperDialect: mysql
  31. reasonable: true
  32. supportMethodsArguments: true
  33. params: count=countSql
  34. #日志配置
  35. logging:
  36. path: /mnt/newdatadrive/data/runtime/tomcat-instance/caimei-mall/catalina.out
  37. level:
  38. root: info
  39. miniprogram:
  40. #邀请码有效时长 /天
  41. ValidTime: 7
  42. domain: https://www.caimei365.com
  43. #组织appid1....2....3,星范组织
  44. AppId1: wx5a5cda32926f55ac
  45. AppSecret1: 1c371e72aba710949dd74bb184a3a774
  46. #采美组织
  47. AppId2: wxf3cd4ae0cdd11c36
  48. AppSecret2: 9bdb37d28c5e74ad3694c09c205e9bd2