From 3aae8ddd5b9624626921abdcc33122dccdcd5c61 Mon Sep 17 00:00:00 2001 From: “djh” <“3298565835@qq.com”> Date: 星期五, 27 十二月 2024 13:24:46 +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