mirror of
https://gitee.com/myxzgzs/boyue-vue-pro.git
synced 2025-08-08 16:32:46 +08:00
fix user id is null
This commit is contained in:
parent
5fc1101900
commit
78c132e68d
@ -111,7 +111,7 @@ public class AdminUserServiceImpl implements AdminUserService {
|
||||
List<UserPostDO> userPostList = new ArrayList<>();
|
||||
for (Long postId : postIds) {
|
||||
UserPostDO entity = new UserPostDO();
|
||||
entity.setUserId(entity.getUserId());
|
||||
entity.setUserId(user.getId());
|
||||
entity.setPostId(postId);
|
||||
userPostList.add(entity);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user