package com.sikey.wa04.business.infrastructure.configuration;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

/**
 * 高德地图配置
 *
 * @author luoyangwei
 */
@Data
@RefreshScope
@Configuration
@ConfigurationProperties(prefix = "amap")
public class AmapConfig {

    /**
     * 商户KEY
     */
    private String key;

    /**
     * 请求地址
     */
    private String url;
}
