application-dev.yml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. server:
  2. port: 8080
  3. servlet:
  4. context-path: /welcome
  5. spring:
  6. main:
  7. allow-circular-references: true
  8. servlet:
  9. multipart:
  10. max-file-size: 100MB
  11. max-request-size: 150MB
  12. jackson:
  13. date-format: yyyy-MM-dd HH:mm:ss
  14. time-zone: GMT+8
  15. datasource:
  16. username: root
  17. password: Chuanghai2024.
  18. url: jdbc:mysql://172.16.40.122:3306/welcome?useUnicode=tru&characterEncoding=UTF-8&useSSL=false&useAffectedRows=true&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true&serverTimezone=Asia/Shanghai
  19. driver-class-name: com.mysql.cj.jdbc.Driver
  20. cache:
  21. type: redis
  22. redis:
  23. # \u7F13\u5B58\u65F6\u95F4 600s
  24. time-to-live: 600000
  25. key-prefix: SPRING_CACHE_
  26. use-key-prefix: true
  27. cache-null-values: true
  28. redis:
  29. host: localhost
  30. port: 6379
  31. password: redis.root
  32. jedis:
  33. pool:
  34. max-active: 100
  35. max-idle: 100
  36. min-idle: 100
  37. max-wait: 60000s
  38. mybatis-plus:
  39. mapper-locations: classpath:/mapper/template/*.xml
  40. # configuration:
  41. # #开启sql打印
  42. # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  43. # #关闭sql打印
  44. # log-impl: org.apache.ibatis.logging.nologging.NoLoggingImpl
  45. global-config:
  46. db-config:
  47. logic-delete-value: 1
  48. logic-not-delete-value: 0
  49. #微信授权读取
  50. author:
  51. appidx: wx2fc3f45732fae5d3
  52. secretx: 7eee4a49a4470a77f9222995e8511547
  53. #微校和小程序
  54. openid:
  55. appid: 9F3C6FD7E3D98CE0
  56. appkey: A3B6D4CFD0287D58A6987A1A6D0486B5
  57. ip: http://192.168.161.218:5173
  58. granttype: authorization_code
  59. #cos存储对象
  60. cos:
  61. secretId: sdadadg
  62. secretKey: dwdwdwdpL
  63. region: ap-sdadsahai
  64. bucketName: wanzai-130342420
  65. path: https://wanzai-133423429220.cos.ap-s324324hai.myqcloud.com
  66. #腾讯云
  67. tencentcloud:
  68. secretID: AacscascMyLl #签名
  69. secretKey: JvdvdsvdsvPDr #密钥
  70. sdkAppId: 1400813506 #短信应用ID
  71. signName: 华撒旦撒擦教育 #短信签名内容
  72. templateId: 173446 #模板 ID
  73. smsMin: 1
  74. # 项目公钥私钥
  75. my-security:
  76. privateKey: MIsdadwY=
  77. publicKey: MIGsdsadwdQAB