|
@@ -0,0 +1,36 @@
|
|
|
+package cn.com.qmth.examcloud.core.oe.task.provider;
|
|
|
+
|
|
|
+
|
|
|
+import cn.com.qmth.examcloud.core.oe.task.api.ExamCaptureCloudService;
|
|
|
+import cn.com.qmth.examcloud.core.oe.task.api.request.SaveExamCaptureSyncCompareResultReq;
|
|
|
+import cn.com.qmth.examcloud.core.oe.task.service.ExamSyncCaptureService;
|
|
|
+import cn.com.qmth.examcloud.web.support.ControllerSupport;
|
|
|
+import io.swagger.annotations.ApiOperation;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
+
|
|
|
+/**
|
|
|
+ * @Description
|
|
|
+ * @Author lideyin
|
|
|
+ * @Date 2019/10/12 11:01
|
|
|
+ * @Version 1.0
|
|
|
+ */
|
|
|
+@RestController
|
|
|
+@RequestMapping("${$rmp.cloud.oe.student.face}/examCapture")
|
|
|
+public class ExamCaptureCloudServiceProvider extends ControllerSupport
|
|
|
+ implements ExamCaptureCloudService {
|
|
|
+
|
|
|
+ @Autowired
|
|
|
+ private ExamSyncCaptureService examSyncCaptureService;
|
|
|
+
|
|
|
+ @Override
|
|
|
+ @ApiOperation(value = "保存抓拍照片的同步比较结果")
|
|
|
+ @PostMapping("/saveExamCaptureSyncCompareResult")
|
|
|
+ public void saveExamCaptureSyncCompareResult(@RequestBody SaveExamCaptureSyncCompareResultReq request) {
|
|
|
+ examSyncCaptureService.saveExamCaptureSyncCompareResult(request.getStudentId(),
|
|
|
+ request.getExamRecordDataId());
|
|
|
+ }
|
|
|
+}
|