Selaa lähdekoodia

feat: 接口路径调整

ecs_oe_student_face  替换为 ecs_oe_student
chenhao 2 vuotta sitten
vanhempi
commit
4dab9ca7d3

+ 1 - 1
src/features/OnlineExam/Examing/setups/useFaceCompare.ts

@@ -119,7 +119,7 @@ export function useFaceCompare(): Ret {
       const snapRes =
         (
           await httpApp.get(
-            "/api/ecs_oe_student_face/examCaptureQueue/getExamCaptureResult?fileName=" +
+            "/api/ecs_oe_student/examCaptureQueue/getExamCaptureResult?fileName=" +
               fileName +
               "&examRecordDataId=" +
               examRecordDataId,

+ 2 - 2
src/features/OnlineExam/FaceRecognition.vue

@@ -310,7 +310,7 @@ async function faceCompareSync(
   try {
     logger({ cnl: ["server"], act: "同步比对开始" });
     const res = await httpApp.post(
-      "/api/ecs_oe_student_face/examCaptureQueue/compareFaceSync?signIdentifier=" +
+      "/api/ecs_oe_student/examCaptureQueue/compareFaceSync?signIdentifier=" +
         signIdentifier +
         "&fileUrl=" +
         encodeURIComponent(captureFilePath)
@@ -515,7 +515,7 @@ async function faceCompare(
       },
     });
     const res = await httpApp.post(
-      "/api/ecs_oe_student_face/examCaptureQueue/uploadExamCapture",
+      "/api/ecs_oe_student/examCaptureQueue/uploadExamCapture",
       body
     );