@@ -37,8 +37,7 @@ public class AccidentReadServiceImpl implements IAccidentReadService { | |||
return JsonResult.error(AccidentEnum.DATA_IS_NULL.getCode(),AccidentEnum.DATA_IS_NULL.getMsg()); | |||
} | |||
//当前用户信息 | |||
//String userId = CurrentUserUtil.getUserId(); | |||
String userId = "e1df76387f28b93a523c97a3e0cf27f9"; | |||
String userId = CurrentUserUtil.getUserId(); | |||
if(StringUtils.isEmpty(userId)){ | |||
throw new ServiceException("用户id为空"); | |||
} |