|
@@ -1,7 +1,5 @@
|
|
package com.ym.mec.student.controller;
|
|
package com.ym.mec.student.controller;
|
|
|
|
|
|
-import com.ym.mec.biz.dal.entity.Student;
|
|
|
|
-import com.ym.mec.biz.dal.entity.Teacher;
|
|
|
|
import com.ym.mec.biz.service.*;
|
|
import com.ym.mec.biz.service.*;
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiOperation;
|
|
@@ -99,8 +97,7 @@ public class StudentManageController extends BaseController {
|
|
if (user == null) {
|
|
if (user == null) {
|
|
return failed(HttpStatus.FORBIDDEN, "请登录");
|
|
return failed(HttpStatus.FORBIDDEN, "请登录");
|
|
}
|
|
}
|
|
- Student student = studentService.get(user.getId());
|
|
|
|
- return succeed(student);
|
|
|
|
|
|
+ return succeed(studentService.get(user.getId()));
|
|
}
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "根据群编号,获取群组所有成员基本信息")
|
|
@ApiOperation(value = "根据群编号,获取群组所有成员基本信息")
|