DiseaseController.java 643 B

1234567891011121314151617181920
  1. package com.yihu.figure.controller;
  2. import com.yihu.figure.service.DiseaseService;
  3. import io.swagger.annotations.Api;
  4. import org.springframework.beans.factory.annotation.Autowired;
  5. import org.springframework.http.MediaType;
  6. import org.springframework.web.bind.annotation.RequestMapping;
  7. import org.springframework.web.bind.annotation.RestController;
  8. /**
  9. * Created by chenweida on 2017/3/6.
  10. * 近期疾病
  11. */
  12. @RestController
  13. @RequestMapping(value = "/disease", produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
  14. @Api(description = "近期疾病")
  15. public class DiseaseController {
  16. @Autowired
  17. private DiseaseService diseaseService;
  18. }