whyclxw
2025-03-25 8b86d573fabc976d3f0ece4f3c070a658d055d26
src/main/resources/config/application-prod.yml
@@ -5,7 +5,7 @@
server:
  port: 8092
  servlet:
    context-path: /CadDrawManager
    context-path: /cad
    session:
      cookie:
        name: CadDrawManager
@@ -17,10 +17,7 @@
  datasource:
    type: com.alibaba.druid.pool.DruidDataSource
    driver-class-name: com.mysql.cj.jdbc.Driver
    url: jdbc:mysql://localhost:3360/db_user?characterEncoding=utf8&serverTimezone=Asia/Shanghai&allowMultiQueries=true&rewriteBatchedStatements=true&useSSL=false
    #    url: jdbc:mysql://192.168.10.79:3360/db_user?characterEncoding=utf8&serverTimezone=Asia/Shanghai&allowMultiQueries=true&rewriteBatchedStatements=true
    #    url: jdbc:mysql://192.168.10.80:3360/db_user?characterEncoding=utf8&serverTimezone=Asia/Shanghai&allowMultiQueries=true&rewriteBatchedStatements=true
    #    url: jdbc:mysql://118.89.139.230:3360/db_user?characterEncoding=utf8&serverTimezone=Asia/Shanghai&allowMultiQueries=true&rewriteBatchedStatements=true
    url: jdbc:mysql://localhost:3383/db_doc?characterEncoding=utf8&serverTimezone=Asia/Shanghai&allowMultiQueries=true&rewriteBatchedStatements=true&useSSL=false
    username: root
    password: lmx8688139
    maxIdel: 60
@@ -29,8 +26,14 @@
    maxPoolSize: 500
  servlet:
    multipart:
      max-file-size: 200MB
      max-request-size: 200MB
      max-file-size: -1
      max-request-size: -1
  mail:
    host: smtp.163.com
    port:
    username: whyc_doc@163.com
    password: JAMKMEQUOAGGMSVV
    default-encoding: UTF-8
mybatis-plus:
  typeAliasesPackage: com.whyc.pojo,com.whyc.dto
  mapper-locations: classpath:mapper/**/*Mapper.xml
@@ -89,7 +92,16 @@
  #告警工单
  alarm:
    task.switch: off
logging:
  config: classpath:config/logback-spring.xml
#Config文件读取 涉及License和FGCDFileDownload
configFile:
  type: 2 #1:本地测试;2:打包jar
  type: 2 #1:本地测试;2:打包jar
#FTP本分数据
ftpInforMation:
  ftpIp: 192.168.10.79
  ftpPort: 21
  ftpUserName: lxw
  ftpPassword: luxingwei+810412026