|
@@ -7,7 +7,6 @@ import org.springframework.web.client.RestTemplate;
|
|
|
import cn.com.qmth.examcloud.commons.web.redis.RedisClient;
|
|
|
import cn.com.qmth.examcloud.core.oe.student.face.api.ExamCaptureQueueCloudService;
|
|
|
import cn.com.qmth.examcloud.core.oe.student.face.api.request.ExamCaptureQueueReq;
|
|
|
-import cn.com.qmth.examcloud.core.oe.student.face.api.response.ExamCaptureQueueResp;
|
|
|
|
|
|
@Service("examCaptureQueueCloudService")
|
|
|
public class ExamCaptureQueueCloudServiceClient extends BasicCloudClientSupport implements ExamCaptureQueueCloudService{
|
|
@@ -23,11 +22,6 @@ public class ExamCaptureQueueCloudServiceClient extends BasicCloudClientSupport
|
|
|
@Autowired
|
|
|
private RedisClient redisClient;
|
|
|
|
|
|
- /*@Override
|
|
|
- public ExamCaptureQueueResp findExamCaptureQueues(ExamCaptureQueueReq examCaptureQueueReq) {
|
|
|
- return post("", examCaptureQueueReq, ExamCaptureQueueResp.class);
|
|
|
- }*/
|
|
|
-
|
|
|
@Override
|
|
|
protected RestTemplate getRestTemplate() {
|
|
|
return restTemplate;
|
|
@@ -38,4 +32,14 @@ public class ExamCaptureQueueCloudServiceClient extends BasicCloudClientSupport
|
|
|
return redisClient;
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
+ public void processingExamCaptureQueue() {
|
|
|
+ post("/processingExamCaptureQueue", null, null);
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public String disposeExamCapturePhoto(ExamCaptureQueueReq examCaptureQueueReq) {
|
|
|
+ return post("/disposeExamCapturePhoto", examCaptureQueueReq, String.class);
|
|
|
+ }
|
|
|
+
|
|
|
}
|