application.yml 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. spring:
  2. # 环境 dev|prod|docker
  3. profiles:
  4. # active: dev
  5. active: prod
  6. #文件上传设置
  7. servlet:
  8. multipart:
  9. max-file-size: 100MB
  10. max-request-size: 100MB
  11. enabled: true
  12. jackson:
  13. date-format: yyyy-MM-dd HH:mm:ss
  14. time-zone: GMT+8
  15. mvc:
  16. formcontent:
  17. filter:
  18. enabled: false
  19. autoconfigure:
  20. exclude: org.springframework.boot.autoconfigure.jmx.JmxAutoConfiguration,\
  21. org.springframework.boot.autoconfigure.gson.GsonAutoConfiguration,\
  22. org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,\
  23. org.springframework.boot.autoconfigure.jdbc.XADataSourceAutoConfiguration,\
  24. org.springframework.boot.autoconfigure.jdbc.JndiDataSourceAutoConfiguration,\
  25. org.springframework.boot.autoconfigure.transaction.jta.JtaAutoConfiguration,\
  26. org.springframework.boot.autoconfigure.websocket.WebSocketAutoConfiguration,\
  27. org.springframework.boot.autoconfigure.websocket.WebSocketMessagingAutoConfiguration,\
  28. org.springframework.boot.autoconfigure.freemarker.FreeMarkerAutoConfiguration,\
  29. org.springframework.boot.autoconfigure.groovy.template.GroovyTemplateAutoConfiguration,\
  30. org.springframework.boot.autoconfigure.mustache.MustacheAutoConfiguration,\
  31. org.springframework.boot.autoconfigure.mail.MailSenderAutoConfiguration,\
  32. org.springframework.boot.autoconfigure.mail.MailSenderValidatorAutoConfiguration,\
  33. org.springframework.boot.actuate.autoconfigure.TraceRepositoryAutoConfiguration,\
  34. org.springframework.boot.actuate.autoconfigure.TraceWebFilterAutoConfiguration,\
  35. org.springframework.boot.actuate.autoconfigure.MetricFilterAutoConfiguration
  36. # mybaits-plus配置
  37. mybatis-plus:
  38. # MyBatis Mapper所对应的XML文件位置
  39. mapper-locations: classpath*:/mapper/*Mapper.xml
  40. global-config:
  41. # 关闭MP3.0自带的banner
  42. banner: false
  43. db-config:
  44. # 主键类型 0:数据库ID自增 1.未定义 2.用户输入 3 id_worker 4.uuid 5.id_worker字符串表示
  45. id-type: AUTO
  46. #字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断"
  47. insert-strategy: NOT_NULL
  48. update-strategy: NOT_NULL
  49. select-strategy: NOT_NULL
  50. # 默认数据库表下划线命名
  51. table-underline: true
  52. management:
  53. server:
  54. add-application-context-header: false
  55. server:
  56. tomcat:
  57. basedir: /temp
  58. # 用于雪花算法生成id
  59. application:
  60. datacenterId: 1
  61. workerId: 1
  62. #服务商
  63. services:
  64. #服务商AppId
  65. spAppId: wx43b5b906cc30ed0b
  66. #服务商商户号
  67. spMchId: 1725845681
  68. #商户AppId
  69. subAppId: wxbc64403830bb13c5
  70. #商户号
  71. subMchId: 1726971843
  72. # APIv2密钥
  73. apiKey: 4b64e17419689527b256f07cdf6bd60c
  74. # APIv3密钥
  75. apiV3Key: 4b64e17419689527b256f07cdf6bd60c
  76. # 微信支付V3-url前缀
  77. baseUrl: https://api.mch.weixin.qq.com/v3
  78. # 密钥路径,resources根目录下
  79. keyPemPath: apiclient_key.pem
  80. #商户证书序列号
  81. serialNo: 65E9559D81ADA0BDA0CD3CF484A59A8DFB5610BE
  82. #支付回调
  83. notifyUrl: http://he56cd66.natappfree.cc/notice/pay/order/wxNotify
  84. #退款回调
  85. refundNotifyUrl: http://he56cd66.natappfree.cc/notice/pay/order/refundNotify