图片审核 文本审核测试类

This commit is contained in:
bao
2025-12-19 01:18:25 +08:00
parent 3daecbdfc2
commit 1051a7b84f
4 changed files with 14 additions and 17 deletions

View File

@@ -74,7 +74,7 @@ public class PostServiceImpl implements PostService {
@Override
public Post createPost(PostRequestDTO postRequestDTO) {
Post post = new Post();
post.setUserId(postRequestDTO.getUserId());
post.setUserId(Long.valueOf(postRequestDTO.getUserId()));
post.setContent(postRequestDTO.getContent());
post.setTags(postRequestDTO.getTags());
post.setMediaOssKeys(new ArrayList<>());