Commit 0fb00265 by zhiwj

修改bug

parent 3f8d50d1
......@@ -172,6 +172,11 @@ public class ProblemOutApiServiceImpl implements ProblemOutApiService {
}
}
}
List<String> imgList = Optional.ofNullable(problemImgService.listImageByProblemId(problemDTO.getProblemId())).orElse(Collections.emptyList())
.stream().map(TabProblemImg::getImgUrl).collect(Collectors.toList());
problemDTO.setImgList(imgList);
// if (!resp.isSuccess()) {
// 恶意评价 不能提交
// problemDTO.setStatus(2);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment