From ec2e9d15da0b196267a6b490bbe765b408d273f5 Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期四, 28 八月 2025 20:14:02 +0800
Subject: [PATCH] bug修改

---
 cloud-server-account/src/main/java/com/dsh/account/controller/StudentController.java |    6 ++++++
 1 files changed, 6 insertions(+), 0 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 adf363d..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
@@ -108,6 +108,12 @@
             return new ArrayList<>();
         }
     }
+    @PostMapping("/student/getStudentById")
+    @ResponseBody
+    TStudent getStudentById(Integer studentId) {
+        TStudent byId = studentService.getById(studentId);
+        return byId;
+    }
 
 
     @ResponseBody

--
Gitblit v1.7.1