From 4742874ad840d7e1e3ac79dc288b38e9a642319d Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期一, 02 六月 2025 19:11:00 +0800
Subject: [PATCH] bug修改

---
 cloud-server-account/src/main/java/com/dsh/account/controller/StudentController.java |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/cloud-server-account/src/main/java/com/dsh/account/controller/StudentController.java b/cloud-server-account/src/main/java/com/dsh/account/controller/StudentController.java
index 75a4465..e33eafd 100644
--- a/cloud-server-account/src/main/java/com/dsh/account/controller/StudentController.java
+++ b/cloud-server-account/src/main/java/com/dsh/account/controller/StudentController.java
@@ -16,9 +16,7 @@
 import com.dsh.account.util.ResultUtil;
 import com.dsh.account.util.TokenUtil;
 import com.dsh.account.util.ToolUtil;
-import io.swagger.annotations.ApiImplicitParam;
-import io.swagger.annotations.ApiImplicitParams;
-import io.swagger.annotations.ApiOperation;
+import io.swagger.annotations.*;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.util.StringUtils;
 import org.springframework.web.bind.annotation.*;
@@ -59,7 +57,7 @@
     private CoursePackageClient coursePackageClient;
 
     /**
-     * 查询惠民卡绑定学员列表信息
+     * 查询玩湃惠民卡绑定学员列表信息
      *
      * @return
      */
@@ -110,6 +108,12 @@
             return new ArrayList<>();
         }
     }
+    @PostMapping("/student/getStudentById")
+    @ResponseBody
+    TStudent getStudentById(Integer studentId) {
+        TStudent byId = studentService.getById(studentId);
+        return byId;
+    }
 
 
     @ResponseBody
@@ -125,8 +129,8 @@
     }
 
 
-    @ResponseBody
     @PostMapping("/student/queryStudentCom")
+
     public List<Map<String, Object>> queryStudentCom(@RequestBody Integer id) {
 
         List<Map<String, Object>> list = studentService.queryCom(id);

--
Gitblit v1.7.1