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 = "tencent.map")
| public class TencentMapConfig {
|
| /**
| * 腾讯地图API Key
| */
| private String key;
|
| public String getKey() {
| return key;
| }
|
| public void setKey(String key) {
| this.key = key;
| }
| }
|
|