|
@@ -1,7 +1,10 @@
|
|
package cn.com.qmth.examcloud.core.oe.task.client;
|
|
package cn.com.qmth.examcloud.core.oe.task.client;
|
|
|
|
|
|
-import cn.com.qmth.examcloud.core.oe.student.face.api.ExamCaptureCloudService;
|
|
|
|
-import cn.com.qmth.examcloud.core.oe.student.face.api.request.SaveExamCaptureSyncCompareResultReq;
|
|
|
|
|
|
+import cn.com.qmth.examcloud.core.oe.task.api.ExamCaptureCloudService;
|
|
|
|
+import cn.com.qmth.examcloud.core.oe.task.api.request.ExistUnhandledCaptureQueueReq;
|
|
|
|
+import cn.com.qmth.examcloud.core.oe.task.api.request.SaveExamCaptureSyncCompareResultReq;
|
|
|
|
+import cn.com.qmth.examcloud.core.oe.task.api.request.UpdateExamCaptureQueuePriorityReq;
|
|
|
|
+import cn.com.qmth.examcloud.core.oe.task.api.response.ExistUnhandledCaptureQueueResp;
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -18,6 +21,28 @@ public class ExamCaptureCloudServiceClient extends AbstractCloudClientSupport
|
|
|
|
|
|
@Override
|
|
@Override
|
|
public void saveExamCaptureSyncCompareResult(SaveExamCaptureSyncCompareResultReq request) {
|
|
public void saveExamCaptureSyncCompareResult(SaveExamCaptureSyncCompareResultReq request) {
|
|
- post("examCapture/saveExamCaptureSyncCompareResult",request);
|
|
|
|
|
|
+ post("examCapture/saveExamCaptureSyncCompareResult", request);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @param req 更新照片优先级请求参数
|
|
|
|
+ * @description 更新考试抓拍照片在队列优中的先级
|
|
|
|
+ * @date 2019/7/31 16:46
|
|
|
|
+ * @author lideyin
|
|
|
|
+ */
|
|
|
|
+ @Override
|
|
|
|
+ public void updateExamCaptureQueuePriority(UpdateExamCaptureQueuePriorityReq req) {
|
|
|
|
+ post("examCapture/updateExamCaptureQueuePriority", req);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 是否存在未处理的图片抓拍队列(处理完成的队列数据都会清理掉)
|
|
|
|
+ *
|
|
|
|
+ * @param req
|
|
|
|
+ * @return
|
|
|
|
+ */
|
|
|
|
+ @Override
|
|
|
|
+ public ExistUnhandledCaptureQueueResp existsUnhandledCaptureQueue(ExistUnhandledCaptureQueueReq req) {
|
|
|
|
+ return post("examCapture/existsUnhandledCaptureQueue", req, ExistUnhandledCaptureQueueResp.class);
|
|
}
|
|
}
|
|
}
|
|
}
|