DietController.java 616 B

1234567891011121314151617181920
  1. package com.yihu.figure.controller;
  2. import com.yihu.figure.service.DietService;
  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 = "/diet", produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
  14. @Api(description = "饮食")
  15. public class DietController {
  16. @Autowired
  17. private DietService dietService;
  18. }