application.yml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. server:
  2. port: 6090
  3. # ssl:
  4. # key-store: classpath:www.xzeai.com.jks
  5. # key-store-password: 520e2ey8e24
  6. # key-store-type: jks
  7. spring:
  8. thymeleaf:
  9. suffix: .html
  10. prefix: classpath:/
  11. cache: false
  12. datasource:
  13. username: root
  14. password: 123456
  15. driver-class-name: com.mysql.cj.jdbc.Driver
  16. url: jdbc:mysql://127.0.0.1:3306/kaojiplatform?allowMultiQueries=true
  17. servlet:
  18. multipart:
  19. max-file-size: 10MB
  20. max-request-size: 10MB
  21. mvc:
  22. static-path-pattern: /static/**
  23. web:
  24. resources:
  25. static-locations: classpath:/static
  26. mybatis:
  27. mapper-locations: classpath:com/mvc/dao/*.xml
  28. type-aliases-package: com.mvc.entity
  29. pagehelper:
  30. helperDialect: mysql
  31. reasonable: true
  32. supportMethodsArguments: true
  33. params: count=countSql
  34. upload-path: D:/shangchuan/picture/
  35. download-path: D:/xzeai_download/
  36. resource_url: http://127.0.0.1:6090
  37. #resource_url: http://192.168.8.111:6090
  38. #resource_url: http://114.242.31.4:6090
  39. #======================================#
  40. #========== Socket Server settings ===========#
  41. #======================================#
  42. wm-socket:
  43. # 监听端口 2323
  44. port: 12323
  45. # 线程池 - 保持线程数 20
  46. pool-keep: 20
  47. # 线程池 - 核心线程数 10
  48. pool-core: 10
  49. # 线程池 - 最大线程数 20
  50. pool-max: 30
  51. # 线程队列容量 10
  52. pool-queue-init: 10
  53. # socket连接超时
  54. time-out: 9000
  55. super:
  56. username: admin
  57. password: 123456
  58. #wxMini:
  59. # appId: 123
  60. # secret: nihao