Prechádzať zdrojové kódy

网考学生端代码优化及通知自动服务的bug修复

lideyin 5 rokov pred
rodič
commit
26f937c52d

+ 5 - 1
examcloud-core-oe-student-api-client/src/main/java/cn/com/qmth/examcloud/core/oe/student/api/client/OeStudentExamRecordCloudServiceClient.java

@@ -18,7 +18,6 @@ public class OeStudentExamRecordCloudServiceClient extends AbstractCloudClientSu
 
 	@Override
 	public void cleanExamRecords() {
-		
 		post("examRecord/cleanExamRecords");
 	}
 
@@ -37,4 +36,9 @@ public class OeStudentExamRecordCloudServiceClient extends AbstractCloudClientSu
 		return post("examRecord/getStudentOnLineExamInfo",req,GetStudentOnlineExamInfoResp.class);
 	}
 
+	@Override
+	public void cleanTempFileAnswers() {
+		post("examRecord/cleanTempFileAnswers");
+	}
+
 }

+ 8 - 4
examcloud-core-oe-student-api/src/main/java/cn/com/qmth/examcloud/core/oe/student/api/OeStudentExamRecordCloudService.java

@@ -15,17 +15,21 @@ public interface OeStudentExamRecordCloudService extends CloudService{
 	 * 获取二维码
 	 * @return
 	 */
-	public GetQrCodeResp getQrCode(GetQrCodeReq req);
+	GetQrCodeResp getQrCode(GetQrCodeReq req);
 	/**
 	 * 获取考试会话
 	 * @return
 	 */
-	public GetExamSessionInfoResp getExamSessionInfo(GetExamSessionInfoReq req);
+	GetExamSessionInfoResp getExamSessionInfo(GetExamSessionInfoReq req);
 	
 	/**
 	 * 获取学生是否有正在进行的网考信息
 	 * @return
 	 */
-	public GetStudentOnlineExamInfoResp getStudentOnLineExamInfo(GetStudentOnlineExamInfoReq req);
-	
+	GetStudentOnlineExamInfoResp getStudentOnLineExamInfo(GetStudentOnlineExamInfoReq req);
+
+	/**
+	 * 清理临时作答记录
+	 */
+	void cleanTempFileAnswers();
 }