AI-Funding / AI_Funding_BE

0 stars 1 forks source link

커뮤니티 잡담 탭 구현 #70

Closed JinSeoHan closed 2 years ago

JinSeoHan commented 2 years ago

구현목록

커뮤니티 잡담 탭 구현

api주소

주소 메서드
api/community-chat POST

받는값

{
    "customer_info_id" : "1",
    "login_type"       : "00"
}

넘겨주는값

{
    "isMember" : "회원인증 성공여부"
    "hotId" : "hot 게시글 id"
    "hotTitle" : "hot 게시글 제목"
    "hotDate" : "hot 게시글 작성날짜"
    "hotHeartNum" : "hot 게시글 하트수"
    "hotCommentNum" : "hot 댓글 개수"
    "hotContent" : "hot 게시글 내용"
    "hotWriter" : "hot 게시글 작성자"
    "hotComments" : [
                {
                    "commentWriter" : "이름"
                    "commentContent" : "댓글내용"
                    "commentDate" : "댓글날짜"
                    "commentHeartNum" : "댓글좋아요수"
                },
    ]
    "board" : [
        {
            "id" : "게시글 id"
            "title" : "글 제목"
            "date" : "작성날짜"
            "heartNum" : "하트수"
            "commentNum" : "댓글개수"
            "content" : "내용"
            "writer" : "작성자"
            "comments" : [
                {
                    "commentWriter" : "이름"
                    "commentContent" : "댓글내용"
                    "commentDate" : "댓글날짜"
                    "commentHeartNum" : "댓글좋아요수"
                },
                {
                    "commentWriter" : "이름"
                    "commentContent" : "댓글내용"
                    "commentDate" : "댓글날짜"
                    "commentHeartNum" : "댓글좋아요수"
                }
            ]
        },
        {
            "id" : "게시글 id"
            "title" : "글 제목"
            "date" : "작성날짜"
            "heartNum" : "하트수"
            "commentNum" : "댓글개수"
            "content" : "내용"
            "writer" : "작성자"
            "comments" : [
                {
                    "commentWriter" : "이름"
                    "commentContent" : "댓글내용"
                    "commentDate" : "댓글날짜"
                    "commentHeartNum" : "댓글좋아요수"
                },
                {
                    "commentWriter" : "이름"
                    "commentContent" : "댓글내용"
                    "commentDate" : "댓글날짜"
                    "commentHeartNum" : "댓글좋아요수"
                }
            ]
        },
    ]   
}