|
@@ -42,7 +42,7 @@ public class FaceVerifyServiceImpl implements FaceVerifyService {
|
|
|
|
|
|
@Override
|
|
|
public Result compare(String key, String token, String fileUrl, String signIdentifier) throws Exception {
|
|
|
- final String requestUrl = String.format("%s/api/ecs_oe_student_face/examCaptureQueue/compareFaceSync?fileUrl=%s&signIdentifier=%s",
|
|
|
+ final String requestUrl = String.format("%s/api/ecs_oe_student/examCaptureQueue/compareFaceSync?fileUrl=%s&signIdentifier=%s",
|
|
|
sysProperty.getApiDomain(), fileUrl != null ? fileUrl : "", signIdentifier != null ? signIdentifier : "");
|
|
|
|
|
|
RequestBody formBody = new FormBody.Builder().build();
|
|
@@ -51,7 +51,7 @@ public class FaceVerifyServiceImpl implements FaceVerifyService {
|
|
|
|
|
|
@Override
|
|
|
public Result saveCaptureInfo(String key, String token, CaptureInfo captureInfo) throws Exception {
|
|
|
- final String requestUrl = String.format("%s/api/ecs_oe_student_face/examCaptureQueue/uploadExamCapture", sysProperty.getApiDomain());
|
|
|
+ final String requestUrl = String.format("%s/api/ecs_oe_student/examCaptureQueue/uploadExamCapture", sysProperty.getApiDomain());
|
|
|
|
|
|
String json = new JsonMapper().toJson(captureInfo);
|
|
|
RequestBody formBody = FormBody.create(MediaType.parse(Constants.CHARSET_JSON_UTF8), json);
|
|
@@ -60,7 +60,7 @@ public class FaceVerifyServiceImpl implements FaceVerifyService {
|
|
|
|
|
|
@Override
|
|
|
public Result getCaptureResult(String key, String token, Long examRecordDataId, String fileName) throws Exception {
|
|
|
- final String requestUrl = String.format("%s/api/ecs_oe_student_face/examCaptureQueue/getExamCaptureResult?examRecordDataId=%s&fileName=%s",
|
|
|
+ final String requestUrl = String.format("%s/api/ecs_oe_student/examCaptureQueue/getExamCaptureResult?examRecordDataId=%s&fileName=%s",
|
|
|
sysProperty.getApiDomain(), examRecordDataId, fileName != null ? fileName : "");
|
|
|
|
|
|
return HttpUtils.doGet(requestUrl, key, token);
|