package com.mmc.iuav.user.constant.fdd;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author:zhenjie Date:2022/7/16
 * time:14:58
 */
@Component
public class FddConnectConstant {
    public static String APP_ID;
    public static String APP_KEY;
    public static String VERSION;
    public static String HOST;
    public static String MMC_URL;

    public FddConnectConstant(@Value("${fdd.appid}") String appid, @Value("${fdd.appkey}") String appkey,
                              @Value("${fdd.version}") String version, @Value("${fdd.host}") String host,
                              @Value("${fdd.mmc-url}") String mmcUrl) {
        APP_ID = appid;
        APP_KEY = appkey;
        VERSION = version;
        HOST = host;
        MMC_URL = mmcUrl;
    }
}
