package com.hr.fegin;


import com.alibaba.fastjson2.JSONObject;
import com.hr.fegin.dto.MyDto;
import com.yy.basedevelop.common.data.BaseReturnDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;


@FeignClient(name = "demo1", contextId = "demo1Remote")
public interface Demo1FeginServer {


    @GetMapping("testSetaRmote1")
    public BaseReturnDto<JSONObject> testSetaRmote1(@RequestParam(value = "name", required = true) String name);
    @GetMapping("testSetaRmote2")
    public MyDto testSetaRmote2(@RequestParam(value = "name", required = true) String name);
}
