Skip to content

찜하기

jongchan lee edited this page Jul 8, 2019 · 12 revisions

찜하기

찜하기

Method URL Description
POST /goods/scrap 찜하기
  • 요청 헤더

    Content-Type : application/json
    
    authorization
  • 요청 바디

    // 201
    {
       goodsIdx : "굿즈 아이디",
       goodsScrapPrice  : "굿즈 스크랩 가격"
       label : "라벨",
       options : "(Json 객체) 견적 데이터" 
    }
    
    options 예시) {"색상":"빨강색","사이즈":"M"}
  • 응답 성공

    {
        // 201
        "message": "Success",
        "data": [
            {
                "user_name": "아영이",
                "goods_review_idx": 6,
                "goods_review_date": "2019.07.05 22:24:30",
                "goods_review_rating": 5,
                "goods_review_content": "내용",
                "goods_review_like_count": 5,
                "goods_review_cmt_count": 5,
                "goods_review_photo_flag": 1,
                "goods_review_img": [
                    "https://yamyamgoods.s3.ap-northeast-2.amazonaws.comimgg",
                    "https://yamyamgoods.s3.ap-northeast-2.amazonaws.comimg"
                ],
                "review_like_flag": 0
            },
            {
                "user_name": "종팡",
                "goods_review_idx": 25,
                "goods_review_date": "한 시간 전",
                "goods_review_rating": 4.5,
                "goods_review_content": "우왕ㅋ 멋있네요 ",
                "goods_review_like_count": 0,
                "goods_review_cmt_count": 0,
                "goods_review_photo_flag": 1,
                "goods_review_img": [
                    "https://yamyamgoods.s3.ap-northeast-2.amazonaws.comgoods/2019/07/08/52b8e15992def14bab83ff51af89be8a.jpg"
                ],
                "review_like_flag": 0
            },
            {
                "user_name": "종팡",
                "goods_review_idx": 24,
                "goods_review_date": "한 시간 전",
                "goods_review_rating": 4.5,
                "goods_review_content": "우왕ㅋ 멋있네요 ",
                "goods_review_like_count": 0,
                "goods_review_cmt_count": 0,
                "goods_review_photo_flag": 1,
                "goods_review_img": [
                    "https://yamyamgoods.s3.ap-northeast-2.amazonaws.comgoods/2019/07/08/52b8e15992def14bab83ff51af89be8a.jpg"
                ],
                "review_like_flag": 0
            },
            {
                "user_name": "종팡",
                "goods_review_idx": 23,
                "goods_review_date": "한 시간 전",
                "goods_review_rating": 4.5,
                "goods_review_content": "우왕ㅋ 멋있네요 ",
                "goods_review_like_count": 0,
                "goods_review_cmt_count": 0,
                "goods_review_photo_flag": 1,
                "goods_review_img": [
                    "https://yamyamgoods.s3.ap-northeast-2.amazonaws.comgoods/2019/07/08/52b8e15992def14bab83ff51af89be8a.jpg"
                ],
                "review_like_flag": 0
            },
            {
                "user_name": "종팡",
                "goods_review_idx": 22,
                "goods_review_date": "한 시간 전",
                "goods_review_rating": 4.5,
                "goods_review_content": "우왕ㅋ 멋있네요 ",
                "goods_review_like_count": 0,
                "goods_review_cmt_count": 0,
                "goods_review_photo_flag": 1,
                "goods_review_img": [
                    "https://yamyamgoods.s3.ap-northeast-2.amazonaws.comgoods/2019/07/08/52b8e15992def14bab83ff51af89be8a.jpg"
                ],
                "review_like_flag": 0
            },
            {
                "user_name": "종팡",
                "goods_review_idx": 21,
                "goods_review_date": "2시간 전",
                "goods_review_rating": 4.5,
                "goods_review_content": "우왕ㅋ 멋있네요 ",
                "goods_review_like_count": 0,
                "goods_review_cmt_count": 0,
                "goods_review_photo_flag": 1,
                "goods_review_img": [
                    "https://yamyamgoods.s3.ap-northeast-2.amazonaws.comgoods/2019/07/08/52b8e15992def14bab83ff51af89be8a.jpg"
                ],
                "review_like_flag": 0
            },
            {
                "user_name": "짱으미",
                "goods_review_idx": 8,
                "goods_review_date": "2019.07.05 22:25:57",
                "goods_review_rating": 4,
                "goods_review_content": "내용",
                "goods_review_like_count": 5,
                "goods_review_cmt_count": 0,
                "goods_review_photo_flag": 0,
                "goods_review_img": [],
                "review_like_flag": 0
            },
            {
                "user_name": "현쥬쥬",
                "goods_review_idx": 7,
                "goods_review_date": "2019.07.05 22:25:07",
                "goods_review_rating": 4,
                "goods_review_content": "내용",
                "goods_review_like_count": 3,
                "goods_review_cmt_count": 3,
                "goods_review_photo_flag": 1,
                "goods_review_img": [
                    "https://yamyamgoods.s3.ap-northeast-2.amazonaws.comimggg",
                    "https://yamyamgoods.s3.ap-northeast-2.amazonaws.comimgggg"
                ],
                "review_like_flag": 0
            },
            {
                "user_name": "종팡",
                "goods_review_idx": 9,
                "goods_review_date": "2019.07.05 23:48:21",
                "goods_review_rating": 0,
                "goods_review_content": "내용",
                "goods_review_like_count": 0,
                "goods_review_cmt_count": 0,
                "goods_review_photo_flag": 0,
                "goods_review_img": [],
                "review_like_flag": 0
            },
            {
                "user_name": "종팡",
                "goods_review_idx": 5,
                "goods_review_date": "2019.07.04 03:54:17",
                "goods_review_rating": 0,
                "goods_review_content": "내용",
                "goods_review_like_count": 0,
                "goods_review_cmt_count": 0,
                "goods_review_photo_flag": 0,
                "goods_review_img": [],
                "review_like_flag": 0
            }
        ]
    }
  • 응답 실패

    // status : 401
    {
        "message": "jwt expired"
    }
    // status : 401 jwt 안넣어주었을때
    {
        "message": "jwt must be provided"
    }
Clone this wiki locally