月球大数据地理空间分析展示平台-【后端】-月球后台服务
1
13693261870
2024-11-11 fee67ca8a0760315047a52fc4101a8f4f80b7a7f
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
package com.moon.server.config;
 
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
 
@Configuration
@SuppressWarnings("ALL")
public class PropertiesConfig {
    @Value("${sys.path.download}")
    private String downloadPath;
 
    @Value("${sys.path.upload}")
    private String uploadPath;
 
    @Value("${sys.path.temp}")
    private String tempPath;
 
    // @Value("${spring.datasource.druid.stat-view-servlet.login-username}")
    private String druidUser;
 
    // @Value("${spring.datasource.druid.stat-view-servlet.login-password}")
    private String druidPwd;
 
    @Value("${sys.tile_path}")
    private String tilePath;
 
    public String getDownloadPath() {
        return downloadPath;
    }
 
    public String getUploadPath() {
        return uploadPath;
    }
 
    public String getTempPath() {
        return tempPath;
    }
 
    public String getDruidUser() {
        return druidUser;
    }
 
    public String getDruidPwd() {
        return druidPwd;
    }
 
    public String getTilePath() {
        return tilePath;
    }
 
    public String getLfData() {
        return tilePath.replace("2d\\tiles", "");
    }
}