[ { "id": 1, "parentId": 0, "content": "这是评论1", "author": "吴名氏", "children": [ { "id": 2, "parentId": 1, "content": "我回复了第一条评论", "author": "吴名氏", "children": [ { "id": 3, "parentId": 2, "content": "我回复了第一条评论的第一条回复", "author": "吴名氏", "children": [ { "id": 6, "parentId": 3, "content": "我回复了第一条评论的第一条回复的第一条回复", "author": "吴名氏", "children": null, "createTime": "2023-02-21 09:56:27" } ], "createTime": "2023-02-20 17:12:13" }, { "id": 4, "parentId": 2, "content": "我回复了第一条评论的第二条回复", "author": "吴名氏", "children": null, "createTime": "2023-02-21 09:23:14" } ], "createTime": "2023-02-20 17:12:00" } ], "createTime": "2023-02-20 17:11:16" }, { "id": 5, "parentId": 0, "content": "这是评论2", "author": "吴名氏", "children": null, "createTime": "2023-02-21 09:41:02" } ]
标签:02,4.7,毕设,author,名氏,id,content,children From: https://www.cnblogs.com/chenjiachengshmily/p/18120031