فهرست منبع

feat: 接口路径调整

ecs_oe_student_face  替换为 ecs_oe_student
chenhao 2 سال پیش
والد
کامیت
c6918c1c2a

+ 3 - 3
src/components/FaceRecognition/FaceRecognition.vue

@@ -673,7 +673,7 @@ export default {
           action: "同步比对开始",
         });
         const res = await this.$http.post(
-          "/api/ecs_oe_student_face/examCaptureQueue/compareFaceSync?signIdentifier=" +
+          "/api/ecs_oe_student/examCaptureQueue/compareFaceSync?signIdentifier=" +
             signIdentifier +
             "&fileUrl=" +
             encodeURIComponent(captureFilePath)
@@ -827,7 +827,7 @@ export default {
           });
         }
         const res = await this.$http.post(
-          "/api/ecs_oe_student_face/examCaptureQueue/uploadExamCapture",
+          "/api/ecs_oe_student/examCaptureQueue/uploadExamCapture",
           body
         );
         const fileName = res.data;
@@ -879,7 +879,7 @@ export default {
         const snapRes =
           (
             await this.$http.get(
-              "/api/ecs_oe_student_face/examCaptureQueue/getExamCaptureResult?fileName=" +
+              "/api/ecs_oe_student/examCaptureQueue/getExamCaptureResult?fileName=" +
                 fileName +
                 "&examRecordDataId=" +
                 examRecordDataId

+ 1 - 1
src/features/OnlineExam/Examing/FaceMotion/FaceMotion.vue

@@ -1070,7 +1070,7 @@ export default {
     async faceCompareSync(captureFilePath, signIdentifier) {
       try {
         const res = await this.$http.post(
-          "/api/ecs_oe_student_face/examCaptureQueue/compareFaceSync?signIdentifier=" +
+          "/api/ecs_oe_student/examCaptureQueue/compareFaceSync?signIdentifier=" +
             signIdentifier +
             "&fileUrl=" +
             encodeURIComponent(captureFilePath)