How can i use @ModelAttribute
with GET method of request
@FeignClient("xx")
interface UserService{
@RequestMapping(value="/users",method=GET)
public List<User> findBy(@ModelAttribute User user);
}
userService.findBy(user);
How can i use @ModelAttribute
with GET method of request
@FeignClient("xx")
interface UserService{
@RequestMapping(value="/users",method=GET)
public List<User> findBy(@ModelAttribute User user);
}
userService.findBy(user);