对result不对的直接打印错误日志

This commit is contained in:
daihh
2023-06-28 16:54:00 +08:00
parent 9d966e7a03
commit 64a507b0b4

View File

@@ -209,7 +209,8 @@ public class OutSideDataServiceImpl implements IOutSideDataService {
}
}
}else {
throw new RuntimeException("通过接口获取用户信息结果result错误"+responseStr);
log.error("通过接口获取用户信息结果result错误:"+responseStr);
throw new RuntimeException("通过接口获取用户信息结果result错误");
}
log.info("用户管理员:"+user.getAdminType());
//System.out.println("老师:"+user.getTeacher());