Skip to content

Commit 4b43e48

Browse files
authored
Merge pull request #53 from NET-ZERO-FitFit/feat/improve-image-quality#52
Feat/improve image quality#52
2 parents df19bf3 + 3daa6a0 commit 4b43e48

19 files changed

Lines changed: 389 additions & 75 deletions

src/App.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ import CategoryPage from "./pages/category/CategoryPage.jsx";
2828
import CategoryResultPage from "./pages/category/CategoryResultPage.jsx";
2929
import ChatPage from "./pages/Chat/ChatPage.jsx";
3030
import ChatRoomPage from "./pages/Chat/ChatRoomPage.jsx";
31+
import PaymentPage from "./pages/Payment/PaymentPage.jsx";
3132
function App() {
3233

3334
return (
@@ -62,6 +63,7 @@ function App() {
6263
<Route path="/closet/fitting" element={<FittingRoomPage />} />
6364
<Route path="/chat" element={<ChatPage />} />
6465
<Route path="/chat/room/:roomId" element={<ChatRoomPage />} />
66+
<Route path="/payment/:orderId" element={<PaymentPage />} />
6567
</Routes>
6668
</SignupProvider>
6769
</div>

src/api/chatApi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export async function getUserChatRooms(type = "ALL") {
1111
const result = await response.json();
1212

1313
if (response.status === 200 && result.isSuccess === true) {
14-
// result.result는 배열 [{ roomId, partnerNickname, partnerProfileUrl, lastMessage, lastSentTime, unreadCount, isActive }, ...]
14+
// result.result는 배열 [{ roomId, partnerNickname, partnerProfileUrl, lastMessage, lastSentTime, unreadCount, isActive, clothesImageUrl }, ...]
1515
return result.result || [];
1616
}
1717

src/api/clothesApi.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ export async function filterClothes(keyword = "", styles = [], priceRangeCodes =
409409
* @returns {Promise<Object>} 응답 데이터
410410
*/
411411
export async function deleteClothes(clothesId) {
412-
const url = `${API_BASE_URL}/api/clothes/${clothesId}`;
412+
const url = `${API_BASE_URL}/api/clothes/delete`;
413413
const body = JSON.stringify({ clothesId });
414414

415415
let response = await apiRequestDelete(url, {
@@ -452,7 +452,7 @@ export async function deleteClothes(clothesId) {
452452
});
453453

454454
const newAccessToken = refreshResponse.result.accessToken;
455-
response = await fetch(url, {
455+
response = await fetch(`${API_BASE_URL}/api/clothes/delete`, {
456456
method: 'DELETE',
457457
headers: {
458458
'Content-Type': 'application/json',

src/assets/advertisement1.png

397 KB
Loading

src/assets/bnkBank.png

6.9 KB
Loading

src/assets/earth.png

924 KB
Loading

src/assets/earth_quiz.png

863 KB
Loading

src/assets/popularTab/image1.png

-14.3 KB
Binary file not shown.

src/assets/popularTab/image2.png

-12.8 KB
Binary file not shown.

src/assets/popularTab/image3.png

-38.2 KB
Binary file not shown.

0 commit comments

Comments
 (0)