无关风月
2025-06-09 d0204d5a1f99851880d945e8a46c5d0801dd512b
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);