1234567891011121314151617181920212223 |
- package com.yihu.jw.fegin.fallback;
- import com.yihu.jw.commnon.Contants;
- import com.yihu.jw.fegin.PatientFegin;
- import org.slf4j.Logger;
- import org.slf4j.LoggerFactory;
- import org.springframework.stereotype.Component;
- import org.springframework.web.bind.annotation.RequestParam;
- /**
- * Created by chenweida on 2017/5/13.
- */
- //@Component
- public class PatientFeginFallback implements PatientFegin {
- private Logger logger = LoggerFactory.getLogger(PatientFeginFallback.class);
- @Override
- public String findByCode(String code) {
- logger.info("进入断路器");
- return "断路器启动";
- }
- }
|