2
13693261870
2022-09-16 653761a31dfeb50dd3d007e892d69c90bf0cdafc
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# 日志
logging:
    path: /data/logFiles/lancatalog/
    level:
        root:warn
        com.landtool.lanbase:warn
# 系统
sys:
    # 上传文件存储目录
    uploadPath: /data/uploadFiles/lancatalog/
    uploadRootPath: http://192.168.20.106:8082/uploadPath/
    # arcgis模板上传路径
    uploadTemplatesPath: /data/ArcGIS/Server/Templates/ExportWebMapTemplates
    # 后台服务接口
    api-server: http://192.168.20.106:8081
    app-id: 1
    app-full-name: 时空大数据平台
    proxyUrl: http://192.168.20.106:8066
    # 本地
    #iconResourcePath: C:/qufangxu/lanCatalogOracle/src/main/resources/static/image/Atkas/NewAtkas/
    # 服务器
    iconResourcePath: /root/soft/etc/lancatalog/NewAtkas/
    tokenWebRoot: http://192.168.20.106:8066/serverRegister/genToken #token获取服务地址
    terraTokenWebRoot: http://192.168.20.106:8066/token/generate #泰瑞token获取服务地址
    apptokenWebRoot: http://192.168.20.106:8066/token/appgenerate #apptoken获取服务地址
    pubzyWebRoot: http://192.168.20.106:8088/javapubzy/ #服务器公用JS、css服务地址根路径
    loginUrl: http://192.168.20.106:8082/login #登录service url
    casHost: http://192.168.20.106:8088/cas/ #cas登录域名
    sessionTimeOut: 3600 # 单位秒
    esbWebServiceHost: http://192.168.20.106:8989 #esbweb替换(前缀地址,资源类型:接口服务)
    esbHost:  http://192.168.20.106:8066  #泰瑞服务代理Host
    esbUrl:  http://192.168.20.106:8066   #泰瑞服务代理url
    obtainExtentMapUrl: http://10.192.4.51:6080/arcgis/rest/services/GDXJ/DT/MapServer #框选地图底图URL
    gisPortal: http://192.168.20.106:9000/ZHJC/GisPortal/ #地图url
    videoUrl: http://10.0.4.26/
    ipHost:  192.168.20.106 #获取token
    gisHost: http://gis.nmsmp.com #通过用户名与密码在资源目录获取token
    #NC入库服务地址
    ncStorageUrl: http://gis.nmsmp.com/arcgis/rest/services/NCServer/NcToGdbTool/GPServer/NcToGdbTool/submitJob
    #NC配置获取服务地址
    ncFileConfigURL: http://192.168.20.106:8082/api/getVariable
    #解析NC文件生成json服务地址
    readNcFileURL: http://192.168.20.106:8082/api/readNcFile
    #出图模板上传服务地址
    uploadRestemplateURL: http://gis.nmsmp.com:8082/api/uploadfile
    #出图模板删除服务地址
    deleteRestemplateURL: http://gis.nmsmp.com:8082/api/deletefile
    #出图模板参数自动获取服务地址
    templateParamsURL: https://gis.nmsmp.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Get%20Layout%20Templates%20Info%20Task/execute?f=json&returnZ=false&returnM=false&returnTrueCurves=false
    # api接口模块,是通过jwt认证的,如果要使用api模块,则需要修改【加密秘钥】
    jwt:
        header: token
        # 加密秘钥
        secret: f4e2e52034348f86b67cde581c0f9eb5[lanbase]
        # token有效时长,单位秒
        expire: 86400
    # swagger开关
    swagger:
        open: true
        basePackage: com.landtool.lanbase.modules.api
    #定时器配置 cron.qqe2.com
    scheduled: 0 */1 * * * ?
# Tomcat
server:
    tomcat:
        uri-encoding: UTF-8
        max-threads: 1000
        min-spare-threads: 30
    port: 8082
 
# 启用Https
 
security:
  basic:
    enabled: false
 
spring:
    # 环境 dev|test|pro
    profiles:
        active: dev
    # jackson时间格式化
    jackson:
        time-zone: GMT+8
        date-format: yyyy-MM-dd HH:mm:ss
    http:
        multipart:
            max-file-size: 6072MB
            max-request-size: 6072MB
            enabled: true
    # 指定静态资源的路径
    resources:
        static-locations: classpath:/static/,classpath:/views/
        #资源缓存时间,单位秒
        #cache-period:604800
        #chain:
           # gzipped: ture
           # cache:ture
    # thymeleaf配置
    thymeleaf:
        mode: LEGACYHTML5   # HTML5 LEGACYHTML5
        encoding: UTF-8
        content-type: text/html
        cache: false    # 开发时关闭缓存,不然没法看到实时页面
    redis:
        open: true  # 是否开启redis缓存  true开启   false关闭
        database: 0
        host: 192.168.20.106
        port: 6379
        timeout: 6000  # 连接超时时长(毫秒)
        pool:
            max-active: 1000  # 连接池最大连接数(使用负值表示没有限制)
            max-wait: -1      # 连接池最大阻塞等待时间(使用负值表示没有限制)
            max-idle: 10      # 连接池中的最大空闲连接
            min-idle: 5       # 连接池中的最小空闲连接
 
# Mybatis配置
mybatis:
    mapperLocations: classpath:mapper/**/*.xml
    configuration:
        mapUnderscoreToCamelCase: true  # 驼峰转换
#定时器配置
 
 
 
#资源权限查询接口
ResCatalogAuthUrl: http://192.168.20.106:8082/api/org/user/queryUserResCatalog/