Commit f6c66095 by 段启岩

修复动态列表

parent 99c987c2
......@@ -109,7 +109,7 @@ public class PostApi {
.map(post -> {
PostVO postVO = new PostVO();
BeanUtils.copyProperties(post, postVO);
if (StringUtils.isEmpty(post.getPictures())) {
if (!StringUtils.isEmpty(post.getPictures())) {
postVO.setPictures(post.getPictures().split(","));
}
return postVO;
......
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