package com.mokasz.sample.manager; import com.alibaba.fastjson.JSONObject; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestHeader; import org.springframework.web.bind.annotation.RequestParam; @FeignClient(value = "Space-Client", url= "${space.host}") public interface SpaceClient { @GetMapping("/space/menu/getMenuInterface") JSONObject getMenu(@RequestParam("sysCode") Integer systemId, @RequestParam("userId") String userId, @RequestHeader("Cookie") String cookies); }