From 3402a6cdef63a87cf046a8bbfdc2898bb842c93f Mon Sep 17 00:00:00 2001
From: kongzy <kongzy>
Date: Sat, 12 Oct 2024 14:09:47 +0800
Subject: [PATCH] 新增学时证书
---
exam-system/src/main/java/com/gkhy/exam/institutionalaccess/controller/TripartiteInterfaceController.java | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 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..88cc6e3 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,7 +31,7 @@
@PostMapping("/question/bank")
@RepeatedClick
- public AjaxResult receiveQuestionBank(@RequestBody JSONObject jsonObject){
+ public AjaxResult receiveQuestionBank(@RequestBody JSONObject jsonObject) throws Exception {
return success(tripartiteInterfaceService.receiveQuestionBank(jsonObject));
}
@PostMapping("/course")
@@ -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