|
@@ -2,6 +2,7 @@ package thyyxxk.webserver.controller.examinations;
|
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
+import thyyxxk.webserver.config.auth.PassToken;
|
|
|
import thyyxxk.webserver.entity.ResultVo;
|
|
|
import thyyxxk.webserver.entity.examinations.inspections.request.ReportDetailInquiry;
|
|
|
import thyyxxk.webserver.entity.examinations.inspections.request.ReportIndexInquiry;
|
|
@@ -25,6 +26,7 @@ public class InspectionsController {
|
|
|
this.service = service;
|
|
|
}
|
|
|
|
|
|
+ @PassToken
|
|
|
@PostMapping("/checkIndexByCategory")
|
|
|
public ResultVo<List> checkIndexByCategory(@RequestBody ReportIndexInquiry inquiry) {
|
|
|
List list;
|
|
@@ -50,6 +52,7 @@ public class InspectionsController {
|
|
|
return ResultVoUtil.success(service.checkExamIndex(inquiry));
|
|
|
}
|
|
|
|
|
|
+ @PassToken
|
|
|
@PostMapping("/checkExamDetail")
|
|
|
public ResultVo<ExamDetailResponse> checkExamDetail(@RequestBody ReportDetailInquiry param) {
|
|
|
return ResultVoUtil.success(service.checkExamDetail(param));
|
|
@@ -60,6 +63,7 @@ public class InspectionsController {
|
|
|
return ResultVoUtil.success(service.checkTestIndex(inquiry));
|
|
|
}
|
|
|
|
|
|
+ @PassToken
|
|
|
@PostMapping("/checkTestDetail")
|
|
|
public ResultVo<TestReport> checkTestDetail(@RequestBody ReportDetailInquiry param) {
|
|
|
return ResultVoUtil.success(service.checkTestDetail(param));
|