lyh
2026-01-29 e530a7943898221ba3a32731bf1cab154c3a1ab9
src/main/resources/application.yml
@@ -4,12 +4,16 @@
spring:
  application:
    name: lxzn-dev-admin
  jpa:   #国产化需要
    properties:
      hibernate:
        dialect: org.hibernate.dialect.Oracle10gDialect
      show-sql: ture
  datasource:
    url: ${MSSQL_URL:jdbc:sqlserver://192.168.0.116:1433;databaseName=lxzn_nc_admin_430}
    username: sa
    password: 123
    type: com.alibaba.druid.pool.DruidDataSource
    driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver
    driver-class-name: dm.jdbc.driver.DmDriver
    url: jdbc:dm://LOCALHOST:5236?zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8&schema=LXZN_NC_ADMIN_430
    username: SYSDBA
    password: Lyh10225217
    initialSize: 5  #初始建立连接数量
    minIdle: 5  #最小连接数量
    maxActive: 20 #最大连接数量
@@ -31,7 +35,7 @@
    host: ${REDIS_HOST:127.0.0.1}
    port: ${REDIS_PORT:6379}
    timeout: 10000ms #连接超时 毫秒
    password: ""
    password: "123456"
    jedis:
      pool:
        maxActive: 3
@@ -43,6 +47,7 @@
    database-schema-update: true
    db-history-used: true
    history-level: full
    async-executor-activate: false
  servlet:
    multipart:
      #默认支持文件上传.
@@ -57,8 +62,8 @@
      max-request-size: 10240MB
mybatis-plus:
  mapper-locations: classpath*:com.lxzn.ucenter.dao/*Mapper.xml,classpath*:com.lxzn.nc.dao/*Mapper.xml,classpath*:com.lxzn.base.dao/*Mapper.xml,classpath*:com.lxzn.activiti.dao/*Mapper.xml
  #configuration:
    #log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  configuration:
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  global-config:
    db-config:
      #logic-delete-field: delete_flag  #全局逻辑删除字段值 3.3.0开始支持,详情看下面。
@@ -72,7 +77,7 @@
  tokenValiditySeconds: 7200  #token存储到redis的过期时间
  clientId: XcWebApp
  clientSecret: XcWebApp
  cookieDomain: ${COOKIE_DOMAIN:127.0.0.1}
  cookieDomain: ${COOKIE_DOMAIN:localhost}
  cookieMaxAge: 7200
auth_server: http://${server.host}:${server.port}
#文件上传目录(注意Linux和Windows上的目录结构不同)
@@ -82,8 +87,8 @@
activiti:
  enable: true # true 启用审批 false 不启用审批
securedoc:
  serverIp: 20.11.9.10
  serverPort: 8090
  serverIp: 127.0.0.1
  serverPort: 8199
  identifier: testUser
  binFileLabel: <secAttrib><secrecy>5</secrecy></secAttrib>
  editFileLabel: <secAttrib><secrecy>5</secrecy><status>2</status></secAttrib>
@@ -98,4 +103,4 @@
 product:
    root: 1580366134186582017
user:
  userIdYml: 1254966905669160962
  userIdYml: 1254966905669160962