From 46ae91d150985e38ecec8768634cc1ee15c5151b Mon Sep 17 00:00:00 2001 From: liujie <1793218484@qq.com> Date: 星期四, 07 八月 2025 19:02:06 +0800 Subject: [PATCH] 赛事模块 --- cloud-server-activity/src/main/java/com/dsh/activity/feignclient/account/StudentClient.java | 18 ++++++++++++++++-- 1 files changed, 16 insertions(+), 2 deletions(-) diff --git a/cloud-server-activity/src/main/java/com/dsh/activity/feignclient/account/StudentClient.java b/cloud-server-activity/src/main/java/com/dsh/activity/feignclient/account/StudentClient.java index e0d6ab7..bdec4b1 100644 --- a/cloud-server-activity/src/main/java/com/dsh/activity/feignclient/account/StudentClient.java +++ b/cloud-server-activity/src/main/java/com/dsh/activity/feignclient/account/StudentClient.java @@ -1,10 +1,10 @@ package com.dsh.activity.feignclient.account; import com.dsh.activity.entity.TStudent; -import com.dsh.activity.feignclient.account.model.Student; import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.ResponseBody; +import org.springframework.web.bind.annotation.RequestMapping; import java.util.List; @@ -18,15 +18,29 @@ /** * 获取用户学员列表 + * * @param appUserId * @return */ @PostMapping("/student/queryStudentList") List<TStudent> queryStudentList(Integer appUserId); + + @PostMapping("/student/getStudentById") + TStudent getStudentById(Integer studentId); + /** * 获取有学员的用户ids + * * @return */ @PostMapping("/student/getHasStudentUser") public List<Integer> getHasStudentUser(); + + /** + * 查询玩湃惠民卡绑定学员列表信息 + * + * @return + */ + @RequestMapping("/base/student/getStudentByIds/{ids}") + public List<TStudent> getStudentByIds(@PathVariable("ids") String ids); } -- Gitblit v1.7.1