优化博客与博客评论关系

This commit is contained in:
2025-06-19 16:03:27 +08:00
parent 1f1950551e
commit e016c5aaa3
3 changed files with 16 additions and 9 deletions

View File

@@ -94,10 +94,10 @@ export class BlogController {
const comment = {
...commentData,
blogId: id,
user: user,
ip: ip,
address: address,
blog,
user,
ip,
address,
};
return await this.blogService.createComment(comment);