/*
package com.ruoyi.ucp.feign;

import com.ruoyi.ucp.entity.PointData;
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 = "goldenAdapter", url = "${adapter.golden-url}")
public interface GoldenAdapterApi {
    @GetMapping("/latest")
    Map<String, PointData> getLatest(@RequestParam("keys") String keys);

    @GetMapping("/history/snap")
    List<PointData> getHistorySnap(@RequestParam("tagName") String tagName, @RequestParam("startTs") long startTs,
                                   @RequestParam("endTs") long endTs, @RequestParam("interval") int interval);
}
*/
