D-VIDE/D-VIDE_Server

[Feature] 게시글/주문/리뷰 목록 api response 수정

Closed this issue · 0 comments

📌 기능 요약

게시글/주문/리뷰 목록 api response 수정


📦 추가할 기능 상세 내역(옵션)

선형적이었던 response를 의미있는 object 단위로 나누기

{
	"userId": 1,
	"nickname": "nickname1",
	"profileImgUrl": "https://objectstorage.ap-chuncheon-1.oraclecloud.com/n/axzo04wlqj1l/b/DivideBucket/o/PROFILE/email@gmail.com/a8969362-d558-47ea-8460-676c553bf917.jpg.jpg",
	"longitude": 127.03541856663053,
	"latitude": 37.4985234538994,
	"postId": 1,
	"title": "title0",
	"targetTime": 1660612204,
	"targetPrice": 80261,
	"orderedPrice": 100000,
	"status": "RECRUIT_FAIL",
	"postImgUrl": "https://objectstorage.ap-chuncheon-1.oraclecloud.com/n/axzo04wlqj1l/b/DivideBucket/o/POST/sampleName/eb150fd3-398a-4eb3-b471-7c5f9cacdb35.jpg.jpg"
}

{
	"user": {
	    "id": 1,
	    "nickname": "nickname1",
	    "profileImgUrl": "https://objectstorage.ap-chuncheon-1.oraclecloud.com/n/axzo04wlqj1l/b/DivideBucket/o/PROFILE/email@gmail.com/a8969362-d558-47ea-8460-676c553bf917.jpg.jpg"
	},
	"post": {
		"longitude": 127.03541856663053,
		"latitude": 37.4985234538994,
		"id": 1,
		"title": "title0",
		"targetTime": 1660612204,
		"targetPrice": 80261,
		"orderedPrice": 100000,
		"status": "RECRUIT_FAIL",
		"postImgUrl": "https://objectstorage.ap-chuncheon-1.oraclecloud.com/n/axzo04wlqj1l/b/DivideBucket/o/POST/sampleName/eb150fd3-398a-4eb3-b471-7c5f9cacdb35.jpg.jpg"
	}
}