@EnableHystrix 啟動熔斷降級服務
@Component把普通的pojo類實例到spring容器中去,相當於配置文件中的<bean id="" class=""/>
熔斷降級實現接口FallbackFactory<server>,重寫需要熔斷降級的服務,加上@Component注解將HystrixClientFactory類交給spring容器去管理,

使用注解的方式進行熔斷降級
@HystrixCommand(fallbackMethod = "hiError")
fallbackMenthod 屬性表示使用熔斷降級的方法,針對具體的某個方法,該注解使用在server方法上

