application.yaml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. spring:
  2. profiles:
  3. active: ${activeProfile:local}
  4. servlet:
  5. multipart:
  6. max-file-size: -1
  7. maxRequestSize: -1
  8. server:
  9. port: 8808
  10. servlet:
  11. context-path: /fusion
  12. tomcat:
  13. max-http-form-post-size: -1
  14. logging:
  15. config: classpath:logback-spring.xml
  16. path: /home/backend/4dkankan_v4
  17. mybatis-plus:
  18. configuration:
  19. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl #开启sql日志
  20. forest:
  21. ## 日志总开关,打开/关闭Forest请求/响应日志(默认为 true)
  22. log-enabled: true
  23. ## 打开/关闭Forest请求日志(默认为 true)
  24. log-request: true
  25. ## 打开/关闭Forest响应状态日志(默认为 true)
  26. log-response-status: true
  27. ## 打开/关闭Forest响应内容日志(默认为 false)
  28. log-response-content: true
  29. ## 请求超时时间,单位为毫秒, 默认值为3000
  30. timeout: 10000
  31. ## 连接超时时间,单位为毫秒, 默认值为2000
  32. connect-timeout: 10000
  33. upload:
  34. type: oss
  35. query-path: https://4dkk.4dage.com/
  36. query-path-ss: https://laser-oss.4dkankan.com/
  37. oss:
  38. #point: http://oss-cn-shenzhen-internal.aliyuncs.com
  39. point: http://oss-cn-shenzhen-internal.aliyuncs.com
  40. key: LTAI5tJwboCj3r4vUNkSmbyX
  41. secrey: meDy7VYAWbg8kZCKsoUZcIYQxigWOy
  42. bucket: 4dkankan
  43. small: ?x-oss-process=image/resize,m_fill,h_%s,w_%s
  44. # Sa-Token配置
  45. sa-token:
  46. # token名称 (同时也是cookie名称)
  47. token-name: token
  48. # token有效期,单位s 默认30天, -1代表永不过期
  49. timeout: -1
  50. # token临时有效期 (指定时间内无操作就视为token过期) 单位: 秒
  51. activity-timeout: -1
  52. # 是否允许同一账号并发登录 (为true时允许一起登录, 为false时新登录挤掉旧登录)
  53. is-concurrent: true
  54. # 在多人登录同一账号时,是否共用一个token (为true时所有登录共用一个token, 为false时每次登录新建一个token)
  55. is-share: false
  56. # token风格
  57. token-style: uuid
  58. jwt-secret-key: XX#$%()(#*!()!KL<><MQLMNQNQJQK&sdfkjsdrow32234545fdf>?N<:{LWPW
  59. # 是否输出操作日志
  60. is-log: false
  61. fdkk:
  62. register:
  63. validCode: 2a22bac40f44af4d3b5fdc20ea706fc5
  64. geoquery:
  65. dataFilePath: /mnt/geoFile/GeoJSON.json
  66. saveWkbsFilePath: /mnt/geoFile/GeoJSON.wkbs