liujie
2026-06-09 c96fbe6b0aeb413a17c429133ee6d81d138144b9
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
package com.xiaopeng.map.config;
 
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
 
@Data
@Component
@ConfigurationProperties(prefix = "map")
public class MapApiProperties {
 
    private String apiKey;
 
    private Urls urls = new Urls();
 
    @Data
    public static class Urls {
 
        private String weather;
 
        private String routePrice;
 
        private String routeQuery;
 
        private String reverseGeocode;
 
        private String geocode;
 
        private String walking;
 
        private String ip;
    }
}