application-prod.yml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. server:
  2. port: 8085
  3. spring:
  4. application:
  5. name: caimei-starstyle #指定服务名
  6. #数据源连接--start
  7. datasource:
  8. driverClassName: com.mysql.cj.jdbc.Driver
  9. url: jdbc:mysql://rm-wz928s8btl7kxil44.mysql.rds.aliyuncs.com:3306/caimei?characterEncoding=utf8&useSSL=false&rewriteBatchedStatements=true
  10. username: coder
  11. password: diKtPYZ%wToI&9#L
  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:
  25. - classpath:mapper/*.xml
  26. - classpath:caimei-search-mapper/*Mapper.xml
  27. - classpath:com-caimei-module-pay/*Mapper.xml
  28. #pojo别名扫描包
  29. type-aliases-package: com.caimei.entity
  30. #分页配置
  31. pagehelper:
  32. helperDialect: mysql
  33. reasonable: true
  34. supportMethodsArguments: true
  35. params: count=countSql
  36. #日志配置
  37. logging:
  38. path: /mnt/newdatadrive/data/runtime/jar-instance/mall/logs/catalina.out
  39. level:
  40. root: info
  41. miniprogram:
  42. #邀请码有效时长 /天
  43. ValidTime: 7
  44. domain: https://www.caimei365.com
  45. #组织appid1....2....3,星范组织
  46. AppId1: wx5a5cda32926f55ac
  47. AppSecret1: 1c371e72aba710949dd74bb184a3a774
  48. #采美组织
  49. AppId2: wxf3cd4ae0cdd11c36
  50. AppSecret2: 9bdb37d28c5e74ad3694c09c205e9bd2
  51. #crm公众号信息
  52. crm_AppId: wxea43a0f9ebce9e66
  53. crm_AppSecret: 1c3cd60908e72dd280840bee9e15f7f6
  54. #支付异步回调地址
  55. notifyUrl: https://mall.caimei365.com/PayOrder/paymentCallback
  56. #支付链接重定向地址
  57. redirectLink: https://mall.caimei365.com/PayOrder/jumpPage
  58. #链接页面
  59. linkPage: https://www-b.caimei365.com/web/order/view/pay/caimei-starspay.jsp