wlzboy
2 天以前 8cb5d3440208a3be3e772e65f1bd0ec63031ba62
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
package com.ruoyi.common.config;
 
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
 
/**
 * 百度地图配置类
 */
@Configuration
@ConfigurationProperties(prefix = "baidu.map")
public class BaiduMapConfig {
    
    /**
     * 百度地图API Key
     */
    private String ak;
 
    public String getAk() {
        return ak;
    }
 
    public void setAk(String ak) {
        this.ak = ak;
    }
}