1
13693261870
2022-09-16 fee60c3e25fac0982f3b8cb8feea7225c4ed22f8
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
107
108
109
server:
  port: 8066
  tomcat:
    uri-encoding: utf-8
# my.ip=192.168.20.106
my:
  ip: 192.168.20.106
messgae: 您无权访问
 
redis:
  host: 192.168.20.106
  maxIdle: 200
  port: 6379
 
jedis:
  pool:
    maxActive: 1024
    maxIdle: 200
    maxWait: 1000
    testOnBorrow: true
    testOnReturn: true
 
spring:
  http:
    encoding:
      charset: UTF-8
      enabled: true
      force: true
  mvc:
    view:
      prefix: classpath:/templates/
      suffix: .html
  datasource:
    driverClassName: org.postgresql.Driver
    druid:
      # 信创正式
#      url: jdbc:highgo://192.168.20.106:5866/highgo?currentSchema=proxy
#      username: highgo
#      password: Highgo@123
      url: jdbc:postgresql://127.0.0.1:5432/langfang?currentSchema=proxy
      username: postgres
      password: postgres
      # 信创测试
      #url: jdbc:highgo://18.1.2.15:5866/DB_DEV?currentSchema=dev_proxy
      #username: sde
      #password: sde
      initial-size: 5
      max-active: 20
    min-idle: 10
    max-wait: 10
    task:
      scheduling:
        pool:
          size: 10
    servlet:
      multipart:
        max-file-size: 10MB
        max-request-size: 100MB
mybatis:
  mapperLocations: classpath:mapper/*Mapper.xml
  # 打印日志
  configuration:
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
 
 
# 系统
sys:
  # 上传文件存储目录
  uploadPath: /data/uploadFiles/proxy/
  # 资源目录接口
  api-catalog: http://192.168.20.106:8082
  # 后台服务接口
  api-server: http://192.168.20.106:8081
  app-id: 1
  app-full-name: 海洋管理应用服务平台资源目录子系统
  loginUrl: http://192.168.20.106:8088/cas/login?service=http://192.168.20.106:9090/login #cas登录url
  casHost: http://192.168.20.106:8088/cas/ #cas登录域名
  # api接口模块,是通过jwt认证的,如果要使用api模块,则需要修改【加密秘钥】
  jwt:
    header: token
    # 加密秘钥
    secret: f4e2e52034348f86b67cde581c0f9eb5[lanbase]
    # token有效时长,单位秒
    expire: 86400
    appidtokentime: [{\"20\":100L},{\"201\":100L}]
  # swagger开关
  visitname: servdl
  visitpwd: servdl123
  allowedips:
 
swagger:
  enable: true
  open: true
  basePackage: com.terra.proxy.controller
 
 
logging:
  path: /data/logFiles/proxy/
  levels: info
 
 
#自定义路径
whiteIPlist: 192.168.20.106  #ip白名单"|"分离
 
isusetoken: true
 
# add by qufangxu at 20211211,/root/soft/etc/proxy/servlet.json
#servletJsonPath: E:\terrait\TianJin\proxy\src\main\resources\servlet.json
servletJsonPath: servlet.json