Browse Source

202508121 考试逻辑调整

贾小兵 2 tuần trước cách đây
mục cha
commit
8a248aa20f
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      public/assets/js/backend/student/exercise.js

+ 2 - 1
public/assets/js/backend/student/exercise.js

@@ -192,7 +192,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
                             content: '正在交卷中,请稍后...', // 这里是加载的文字
                         });
                         $.ajax({
-                            url: Config.url_type+"/sim/real-exam/student/exam/submit/"+Config.exam_id+"?ip="+Config.server_ip,
+                            url: Config.url_type+"/sim/real-exam/student/self-exercise/submit/"+Config.exam_id+"?ip="+Config.server_ip,
                             type: 'get',
                             success: function (data) {
                                 console.log(data);
@@ -203,6 +203,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
                                     Layer.close(indexnew);
                                     Layer.alert(data.msg);
                                 }
+
                             }
                         });
                     }else{