package com.yeejoin.amos.boot.module.jxiop.biz.feign;

import com.yeejoin.amos.component.feign.model.FeignClientResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

//@FeignClient(name = "${mcb.warning.name:MCB-SERVER}", path = "warning", configuration = {FeignConfiguration.class})
@FeignClient(name = "mcb", url = "${core.feign.url:http://10.20.1.160:10005}", path = "core", configuration = {
        FeignConfiguration.class })
public interface CoreFeignClient {


    /**
     * @pare
     */
    @GetMapping("/scene-device-info/getValues")
    FeignClientResult<List<Object>> getValues(
            @RequestParam(required = false, value = "stationNames") String stationNames,
            @RequestParam(required = false,value = "pointNames") String pointNames);
}
