|
@@ -97,7 +97,7 @@ public class StudentController extends BaseController {
|
|
|
@GetMapping("/queryUserInfo")
|
|
|
public HttpResponseResult<StudentHomeVo> queryUserInfo() throws Exception {
|
|
|
SysUser user = sysUserFeignService.queryUserInfo();
|
|
|
- if (user == null || null == user.getId()) {
|
|
|
+ if (user == null || null == user.getId() || (user.getDelFlag()!=null && user.getDelFlag())) {
|
|
|
return failed(HttpStatus.FORBIDDEN, "请登录");
|
|
|
}
|
|
|
return succeed(studentService.queryUserInfo(user));
|