lyh
7 小时以前 7126eab629d31beb5164b576a44b865a6a00f07c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
server:
  port: ${PORT:8299}
  host: ${HOST:localhost}
spring:
  jpa:
    properties:
      hibernate:
        dialect: org.hibernate.dialect.Oracle10gDialect
      show-sql: ture
  application:
    name: lxzn-dev-admin
  datasource:
    driver-class-name: dm.jdbc.driver.DmDriver
    url: jdbc:dm://192.168.1.118:5236/LXZN_NC_ADMIN_420?zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8&schema=LYH
    username: SYSDBA
    password: SYSDBA
    initialSize: 5  #初始建立连接数量
    minIdle: 5  #最小连接数量
    maxActive: 20 #最大连接数量
    maxWait: 10000  #获取连接最大等待时间,毫秒
    timeBetweenEvictionRunsMillis: 60000 #配置间隔检测连接是否有效的时间(单位是毫秒)
    minEvictableIdleTimeMillis: 300000  #连接在连接池的最小生存时间(毫秒)
    validationQuery: SELECT 1
    testWhileIdle: true
    testOnBorrow: false #申请连接时检测连接是否有效
    testOnReturn: false #归还连接时检测连接是否有效
    poolPreparedStatements: true
    #配置监控统计拦截的filters,去掉后监控界面sql无法统计,'wall'用于防火墙
    filters: stat,wall,log4j
    maxPoolPreparedStatementPerConnectionSize: 20
    useGlobalDataSourceStat: true
    #慢SQL记录 如果上面validationQuery: SELECT 1 没有配置,而你配置了就会报错null
    connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=500
  redis:
    host: ${REDIS_HOST:127.0.0.1}
    port: ${REDIS_PORT:6379}
    timeout: 5000 #连接超时 毫秒
    password: '123456'
    jedis:
      pool:
        maxActive: 3
        maxIdle: 3
        minIdle: 1
        maxWait: -1 #连接池最大等行时间 -1没有限制
  activiti:
    check-process-definitions: true
    database-schema-update: true
    db-history-used: true
    history-level: full
  servlet:
    multipart:
      #默认支持文件上传.
      enabled: true
      #支持文件写入磁盘.
      file-size-threshold: 0
      # 上传文件的临时目录
      location:
      # 最大支持文件大小
      max-file-size: 1024MB
      # 最大支持请求大小
      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
  global-config:
    db-config:
      #logic-delete-field: delete_flag  #全局逻辑删除字段值 3.3.0开始支持,详情看下面。
      logic-delete-value: 1 # 逻辑已删除值(默认为 1)
      logic-not-delete-value: 0
      id-type: id_worker_str
  type-aliases-package: com.lxzn.framework.domain #实体类扫描路径
auth:
  header: Authorization
  cookieName: uid
  tokenValiditySeconds: 7200  #token存储到redis的过期时间
  clientId: XcWebApp
  clientSecret: XcWebApp
  cookieDomain: ${COOKIE_DOMAIN:localhost} #需要修改为现网服务器ip
  cookieMaxAge: 7200
auth_server: http://${server.host}:${server.port}
#文件上传目录(注意Linux和Windows上的目录结构不同)
#file.uploadFolder=/root/uploadFiles/
fileHomePath: ${UPLOAD_FOLDER:d://lxzn_storage}
fileNCPath: ${NC_FOLDER:D://NC} # NC文件位置
ncSend:
  addOrDelete: false  #//是否删除seed 中的之前文件
#staticAccessPath: /api/file/** # 当前项目的静态资源访问配置在nginx中
activiti:
  enable: false # true 启用审批 false 不启用审批
license:
  tip_days: 5 #提前N天提醒用户序列号过期
  path: D:/demo/license.txt #序列号读取地址
securedoc:
  whether: true  #是否启用 true / false
  serverIp: 127.0.0.1  #数据服务端IP
  serverPort: 8199  #数据服务端接口
  username: admin  #定义账号
  pwd: 123 #定义密码
  addressToken: /outer/appAuth #服务段获取token地址
  addressUploadFile: /outer/fileUpload #服务段上传地址
  localFilePath: D:\\test\\a #接收地址
  servicePath: D:\\test\\b #发送地址
  copyFilePath: D:\\test\\bak_a  #文件备份地址
  logIp: 127.0.0.1  #日志系统地址
  logPort: 8888   #日志系统端口