package com.zd.exam.controller; import com.zd.laboratory.api.feign.RemoteLaboratoryService; import com.zd.model.domain.R; import io.swagger.annotations.Api; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; /** * @Author: liujh * @Date: 2021/12/24/11:45 * @Description:个人中心 */ @RestController @RequestMapping("/person/center") @Api(tags = {"个人中心"}) public class ElpersonCenterController { @Autowired private RemoteLaboratoryService laboratoryService; @GetMapping("/info") public R getPersonInfo(){ return laboratoryService.getPersonInfo(); } /* @GetMapping("/historyList") @ApiOperation(value = "查询违规记录列表") public TableDataInfo violationhistoryList(@RequestParam(defaultValue = "-1") String overStatus, @RequestParam(defaultValue = "") String statTime, @RequestParam(defaultValue = "") String endTime) { List list = laboratoryService.violationhistoryList(overStatus,statTime,endTime); return getDataTable(); }*/ }