application.yml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. server:
  2. port: 6090
  3. spring:
  4. thymeleaf:
  5. suffix: .html
  6. prefix: classpath:/
  7. cache: false
  8. datasource:
  9. username: root
  10. password: fsgit22
  11. driver-class-name: com.mysql.cj.jdbc.Driver
  12. url: jdbc:mysql://localhost:3306/kaojiplatform?allowMultiQueries=true
  13. servlet:
  14. multipart:
  15. max-file-size: 10MB
  16. max-request-size: 10MB
  17. mvc:
  18. static-path-pattern: /static/**
  19. web:
  20. resources:
  21. static-locations: classpath:/static
  22. mybatis:
  23. mapper-locations: classpath:com/mvc/dao/*.xml
  24. type-aliases-package: com.mvc.entity
  25. upload-path: C:/hongcheng/test/
  26. resource_url: 114.242.31.4.64:6090
  27. #======================================#
  28. #========== Socket Server settings ===========#
  29. #======================================#
  30. wm-socket:
  31. # 监听端口 12323
  32. port: 12323
  33. # 线程池 - 保持线程数 20
  34. pool-keep: 20
  35. # 线程池 - 核心线程数 10
  36. pool-core: 10
  37. # 线程池 - 最大线程数 20
  38. pool-max: 30
  39. # 线程队列容量 10
  40. pool-queue-init: 10
  41. # socket连接超时
  42. time-out: 9000
  43. super:
  44. username: admin
  45. password: 123456