ElpersonCenterController.java 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. package com.zd.exam.controller;
  2. import com.zd.laboratory.api.feign.RemoteLaboratoryService;
  3. import com.zd.model.domain.R;
  4. import io.swagger.annotations.Api;
  5. import org.springframework.beans.factory.annotation.Autowired;
  6. import org.springframework.web.bind.annotation.GetMapping;
  7. import org.springframework.web.bind.annotation.RequestMapping;
  8. import org.springframework.web.bind.annotation.RestController;
  9. /**
  10. * @Author: liujh
  11. * @Date: 2021/12/24/11:45
  12. * @Description:个人中心
  13. */
  14. @RestController
  15. @RequestMapping("/person/center")
  16. @Api(tags = {"个人中心"})
  17. public class ElpersonCenterController {
  18. @Autowired
  19. private RemoteLaboratoryService laboratoryService;
  20. @GetMapping("/info")
  21. public R getPersonInfo(){
  22. return laboratoryService.getPersonInfo();
  23. }
  24. /* @GetMapping("/historyList")
  25. @ApiOperation(value = "查询违规记录列表")
  26. public TableDataInfo violationhistoryList(@RequestParam(defaultValue = "-1") String overStatus,
  27. @RequestParam(defaultValue = "") String statTime,
  28. @RequestParam(defaultValue = "") String endTime) {
  29. List<LabNegativelistHistory> list = laboratoryService.violationhistoryList(overStatus,statTime,endTime);
  30. return getDataTable();
  31. }*/
  32. }