Commit d4fd4095 authored by wujiang's avatar wujiang

提交feign

parent b8d68d32
...@@ -7,6 +7,8 @@ import com.yeejoin.amos.component.feign.model.FeignClientResult; ...@@ -7,6 +7,8 @@ import com.yeejoin.amos.component.feign.model.FeignClientResult;
import org.springframework.cloud.openfeign.FeignClient; import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import java.util.List; import java.util.List;
...@@ -83,21 +85,21 @@ public interface McbWarningFeign { ...@@ -83,21 +85,21 @@ public interface McbWarningFeign {
/** /**
* 跑马灯列表数据分页查询 * 跑马灯列表数据分页查询
*/ */
@GetMapping("/monitor/overview/getLampListPage") @GetMapping(value = "/monitor/overview/getLampListPage")
FeignClientResult getLampListPage(@RequestParam String questionRectificationStatus, FeignClientResult getLampListPage(@RequestParam String questionRectificationStatus,
@RequestParam("codes") List<String> codes, @RequestParam("codes") List<String> codes,
@RequestParam(value = "operator", defaultValue = "=") String operator, @RequestParam(value = "operator", defaultValue = "=") String operator,
Page page); @RequestParam Page page);
/** /**
* 跑马灯列表数据查询 * 跑马灯列表数据查询
*/ */
@GetMapping("/monitor/overview/getLampListList") @GetMapping("/monitor/overview/getLampList")
FeignClientResult getLampListList(@RequestParam String questionRectificationStatus, FeignClientResult getLampList(@RequestParam String questionRectificationStatus,
@RequestParam("codes") List<String> codes, @RequestParam("codes") List<String> codes,
@RequestParam(value = "operator", defaultValue = "=") String operator); @RequestParam(value = "operator", defaultValue = "=") String operator);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment