PatientFeginFallback.java 405 B

1234567891011121314151617
  1. package com.yihu.jw.fegin.fallback;
  2. import com.yihu.jw.fegin.PatientFegin;
  3. import org.springframework.stereotype.Component;
  4. import org.springframework.web.bind.annotation.RequestParam;
  5. /**
  6. * Created by chenweida on 2017/5/13.
  7. */
  8. @Component
  9. public class PatientFeginFallback implements PatientFegin {
  10. @Override
  11. public String findByCode(String code) {
  12. return "断路器启动";
  13. }
  14. }