@GetMapping("/getByParam") String hello(Student student) throws Exception;
如上,feign调用报错500。
增加@SpringQueryMap
@GetMapping("/getByParam") String hello(@SpringQueryMap Student student) throws Exception;