application.yml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. # 开发环境配置
  2. server:
  3. servlet:
  4. # 应用的访问路径
  5. context-path: /
  6. tomcat:
  7. # tomcat的URI编码
  8. uri-encoding: UTF-8
  9. # tomcat最大线程数,默认为200
  10. max-threads: 1000
  11. max-connections: 20000
  12. # Tomcat启动初始化的线程数,默认值25
  13. min-spare-threads: 30
  14. # Spring配置
  15. spring:
  16. jackson:
  17. time-zone: GMT+8
  18. date-format: yyyy-MM-dd HH:mm:ss
  19. profiles:
  20. active: local
  21. # 服务模块
  22. devtools:
  23. restart:
  24. # 热部署开关
  25. enabled: true
  26. # main:
  27. # web-application-type: none
  28. # MyBatis
  29. mybatis:
  30. # 搜索指定包别名
  31. typeAliasesPackage: cn.com.wingxi.biandan.**.domain
  32. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  33. mapperLocations: classpath*:mapper/**/*Mapper.xml
  34. # 加载全局的配置文件
  35. configLocation: classpath:config/mybatis-config.xml
  36. # PageHelper分页插件
  37. pagehelper:
  38. helperDialect: mysql
  39. reasonable: true
  40. supportMethodsArguments: true
  41. params: count=countSql
  42. # snowflake 配置
  43. idworkcfg:
  44. # 机器标识位数
  45. workerId: 4
  46. # 数据中心标识位数
  47. dataCenterId: 4
  48. wx:
  49. miniapp:
  50. appid: "wx749421f425650fb2"
  51. secret: "bf0d4499b7da9f9605f74ca5daa12a90"
  52. pay:
  53. mch-id: "1514166051"
  54. apiv3-key: "Rongxi88888888888888888888888888"
  55. private-key-path: "classpath:META-INF/apiclient_key.pem"
  56. private-cert-path: "classpath:META-INF/apiclient_cert.p12"
  57. aliyun:
  58. oss:
  59. endPoint: oss-cn-shanghai.aliyuncs.com
  60. accessKeyID: LTAI5tRgA62ZTMXFuRBRrTkz
  61. accessKeySecret: m3zP8XD78dgkV5sMGhnuq7xObuMvuN
  62. bucketName: empress
  63. # 如果有自定义域名
  64. customDomain: res.ysyd.cloud