From 5eb26e1cc054d1c6ea25e337dd4140c9510522e4 Mon Sep 17 00:00:00 2001 From: daniel LEE Date: Thu, 9 Nov 2023 15:03:35 +0900 Subject: [PATCH] =?UTF-8?q?id=20=ED=85=8C=EA=B7=B8=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/WEB-INF/views/add.jsp | 25 ++++--------------------- 1 file changed, 4 insertions(+), 21 deletions(-) diff --git a/src/main/webapp/WEB-INF/views/add.jsp b/src/main/webapp/WEB-INF/views/add.jsp index 8d66bf1..9349b59 100644 --- a/src/main/webapp/WEB-INF/views/add.jsp +++ b/src/main/webapp/WEB-INF/views/add.jsp @@ -24,7 +24,7 @@ } $.ajax({ type: "POST", - url: '/profile/user/10', + url: '/profile/user/' + $('#id').val(), data: formData, contentType: false, processData: false, @@ -52,7 +52,7 @@ } $.ajax({ type: "PUT", - url: '/profile/user/1', + url: '/profile/user/' + $('#eid').val(), data: formData, contentType: false, processData: false, @@ -72,25 +72,7 @@ - - -
-
-
-
- - - + 제품Id
제품명
가격

@@ -98,6 +80,7 @@





+ 제품Id
제품명
가격