package com.ym.mec.jiari;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

import java.util.Map;

@FeignClient(value = "JiaRiFeignService", url = "https://tool.bitefu.net")
public interface JiaRiFeignService {

    @RequestMapping(name = "查询订单", value = "/jiari", method = RequestMethod.GET)
    Map<Integer,Map<String,Integer>> query(@RequestParam("d") Integer d);

}
