| | |
| | | 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 #最大连接数量 |
| | |
| | | host: ${REDIS_HOST:127.0.0.1} |
| | | port: ${REDIS_PORT:6379} |
| | | timeout: 10000ms #连接超时 毫秒 |
| | | password: "" |
| | | password: "123456" |
| | | jedis: |
| | | pool: |
| | | maxActive: 3 |
| | |
| | | database-schema-update: true |
| | | db-history-used: true |
| | | history-level: full |
| | | async-executor-activate: false |
| | | servlet: |
| | | multipart: |
| | | #默认支持文件上传. |
| | |
| | | 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开始支持,详情看下面。 |
| | |
| | | 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上的目录结构不同) |
| | |
| | | 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> |