|
|
|
@ -9,11 +9,8 @@ import org.springframework.web.bind.annotation.RequestParam; |
|
|
|
|
|
|
|
@FeignClient("inspect-main") |
|
|
|
public interface FeignMsgClient { |
|
|
|
// @PostMapping({"/partrolresult/sendMessage"}) |
|
|
|
// AjaxResult senMessageToMl(@RequestParam("type") String type, @RequestBody String messageBody); |
|
|
|
|
|
|
|
@GetMapping({"/partrolresult/sendMessage"}) |
|
|
|
AjaxResult senMessageToMl(@RequestParam("type") String type, @RequestParam("messageBody") String msg); |
|
|
|
@PostMapping({"/partrolresult/sendMessage"}) |
|
|
|
AjaxResult senMessageToMl(@RequestParam("type") String type, @RequestBody String messageBody); |
|
|
|
|
|
|
|
@PostMapping({"/client/upData"}) |
|
|
|
AjaxResult senMessageToZk(@RequestParam("type") String type, @RequestParam("msg") String msg); |
|
|
|
|