
// SUCCESS
// 댓글이 존재하는 경우
{
"comment": [
{
"id": String,
"content": String,
"createdAt": "2021-12-20T06:10:26.803Z",
"author": {
"_id": "작성자 id",
"username": "1",
"accountname": "1",
"intro": "1",
"image": "1",
"isfollow": false,
"following": [],
"follower": [],
"followerCount": 0,
"followingCount": 0
}
}
]
}
// 댓글이 존재하지 않는 경우
{
"comment": []
}
// FAIL
// 게시물이 존재하지 않을 때
존재하지 않는 게시글입니다.
댓글 인풋
placeholder: 댓글을 입력해주세요
게시 버튼
내용이 없을 경우 disabled 처리