#
vincentlu
2025-01-13 89c7f6e5bcc21b0e8f83a2bc6d680e2ffe431e6f
zy-acs-manager/src/main/resources/application.yml
@@ -1,6 +1,5 @@
server:
  port: 8088
# 192.168.137.66
spring:
  application:
    name: @pom.artifactId@
@@ -8,8 +7,9 @@
    static-path-pattern: /**
  datasource:
    driver-class-name: com.mysql.jdbc.Driver
    url: jdbc:mysql://localhost:3306/zy_rcs?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
#    url: jdbc:mysql://192.168.2.46:3306/zy_acs?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
    url: jdbc:mysql://127.0.0.1:3306/zy_rcs1?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
#    url: jdbc:mysql://127.0.0.1:33066/zy_rcs1?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
#    url: jdbc:mysql://mysql:3306/zy_rcs1?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
    username: root
    password: xltys1995
    type: com.alibaba.druid.pool.DruidDataSource
@@ -35,13 +35,13 @@
        reset-enable: true
        login-username: admin
        login-password: admin
        enabled: true
  servlet:
    multipart:
      maxFileSize: 100MB
      maxRequestSize: 100MB
  jmx:
    enabled: false
  # 邮件服务器配置
  mail:
    host: smtp.qq.com
    username:
@@ -55,6 +55,20 @@
            class: javax.net.ssl.SSLSocketFactory
            port: 465
redis:
  host: 127.0.0.1
  #  host: redis
  password: xltys1995
  port: 6379
#  port: 63799
  max: 30
  min: 10
  timeout: 5000
  index: 3
floyd:
  enable: false
eureka:
  client:
    enabled: false
@@ -62,7 +76,6 @@
      defaultZone: http://192.168.2.46:8765/eureka/
mybatis-plus:
#  mapper-locations: classpath:mapper/*.xml
  mapper-locations: classpath:mapper/*/*.xml
#  global-config:
#    field-strategy: 0
@@ -79,27 +92,8 @@
logging:
  file:
    path: /stock/out/acs-manager/logs
    path: stock/out/rcs-manager/logs
auto:
  size: 5
  demo: false
  demo1: false
  demo2: false
  move: false
#redis的相关配置
redis:
  host: localhost
#  host: 192.168.2.46
  password: xltys1995
  port: 6379
  max: 30
  min: 10
  timeout: 5000
  index: 3
# 框架配置
config:
  open-office-home: C
  swagger-base-package: com.zy.acs