package com.yihu.figure.controller; import com.yihu.figure.service.DiseaseService; import io.swagger.annotations.Api; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.MediaType; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; /** * Created by chenweida on 2017/3/6. * 近期疾病 */ @RestController @RequestMapping(value = "/disease", produces = MediaType.APPLICATION_JSON_UTF8_VALUE) @Api(description = "近期疾病") public class DiseaseController { @Autowired private DiseaseService diseaseService; }