From 976fe8de4d45ccdd18cf988a36b9d71697d3bcc3 Mon Sep 17 00:00:00 2001
From: heheng <heheng@123456>
Date: Fri, 21 Feb 2025 16:54:55 +0800
Subject: [PATCH] 修改
---
exam-system/src/main/java/com/gkhy/exam/institutionalaccess/controller/TripartiteInterfaceController.java | 16 ++++++++++++++--
1 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/exam-system/src/main/java/com/gkhy/exam/institutionalaccess/controller/TripartiteInterfaceController.java b/exam-system/src/main/java/com/gkhy/exam/institutionalaccess/controller/TripartiteInterfaceController.java
index 1fe9fcb..239a7b9 100644
--- a/exam-system/src/main/java/com/gkhy/exam/institutionalaccess/controller/TripartiteInterfaceController.java
+++ b/exam-system/src/main/java/com/gkhy/exam/institutionalaccess/controller/TripartiteInterfaceController.java
@@ -31,8 +31,8 @@
@PostMapping("/question/bank")
@RepeatedClick
- public AjaxResult receiveQuestionBank(@RequestBody JSONObject jsonObject){
- return success(tripartiteInterfaceService.receiveQuestionBank(jsonObject));
+ public AjaxResult receiveQuestionBank(@RequestBody JSONObject jsonObject) throws Exception {
+ return tripartiteInterfaceService.receiveQuestionBank(jsonObject);
}
@PostMapping("/course")
@RepeatedClick
@@ -78,6 +78,18 @@
}
/**
+ * 学时证书推送
+ * @param jsonObject
+ * @return
+ */
+ @RepeatedClick
+ @PostMapping("/certs")
+ public AjaxResult receiveCerts(@RequestBody JSONObject jsonObject) throws Exception {
+ return tripartiteInterfaceService.receiveCerts(jsonObject);
+ }
+
+
+ /**
* 题库组卷
* @param args
*/
--
Gitblit v1.9.2