燕山石化溯源三维电子沙盘-【后端】-服务
13693261870
2023-12-04 e14bf96759317a4668c3f0f19cd94363d5d91f9e
src/main/resources/application.yml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,67 @@
server:
  tomcat:
    uri-encoding: UTF-8
    max-connections: 1000
    threads:
      # tomcat最大线程数,默认为200
      max: 1000
      # Tomcat启动初始化的线程数,默认值25
      min-spare: 25
  port: 8082
  servlet:
    context-path: /
spring:
  application:
    name: yssh
  # session
  session:
    timeout: PT20M # 20分钟
  profiles:
    active: prod
    include: scheduled,file
  # è®¾ç½®ä¸Šä¼ æ–‡ä»¶å¤§å°
  servlet:
    multipart:
      enabled: true
      max-file-size: 204800MB
      max-request-size: 1048576MB
  # jackson
  jackson:
    time-zone: GMT+8
    date-format: yyyy-MM-dd HH:mm:ss
    locale: zh_CN
  thymeleaf:
    cache: false
  # æœåŠ¡æ¨¡å—
  devtools:
    restart:
      # çƒ­éƒ¨ç½²å¼€å…³
      enabled: true
mybatis-plus:
  type-aliases-package: com.yssh.entity
  config-location: classpath:mybatis.xml
  mapper-locations: classpath:mapper/**/*.xml
# logging
logging:
  level:
    com.yssh: info
    org.springframework: warn
  #config: classpath:logback-spring.xml
knife4j:
  # æ˜¯å¦å¼€å¯Swagger
  enabled: true
  # è¯·æ±‚前缀
  pathMapping:
  # æ˜¯å¦å¼€å¯Knife4j增强模式,默认是 false
  enable: true
socket:
  ip: 127.0.0.1
  port: 6666
cmd:
  runPy: C:/Python310/py/runPy.bat