Explorar o código

增加报名列表信息

周箭河 %!s(int64=5) %!d(string=hai) anos
pai
achega
c6f2dd9ca7

+ 23 - 0
edu-user/edu-user-server/src/main/java/com/keao/edu/user/controller/TaskController.java

@@ -0,0 +1,23 @@
+package com.keao.edu.user.controller;
+
+import com.keao.edu.common.controller.BaseController;
+import com.keao.edu.user.service.ExamRegistrationPaymentService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+@RestController
+public class TaskController extends BaseController {
+
+@Autowired
+private ExamRegistrationPaymentService examRegistrationPaymentService;
+    // 查询订单状态
+    @GetMapping("/queryOrderStatus")
+    public void queryOrderStatus() throws Exception {
+        try {
+            examRegistrationPaymentService.queryPaymentStatus();
+        } catch (Exception e) {
+            e.printStackTrace();
+        }
+    }
+}