@HystrixCommand
@GetMapping("/dept/list")
public List list(){
return deptService.getAll();
}
怎么改成不需要每个方法都加注解
@HystrixCommand
@GetMapping("/dept/list")
public List list(){
return deptService.getAll();
}
怎么改成不需要每个方法都加注解