From a91957f1882c5efac6c3c5f85c1f69ed3135702d Mon Sep 17 00:00:00 2001 From: bum12ark Date: Sun, 30 Jan 2022 20:53:43 +0900 Subject: [PATCH] =?UTF-8?q?=EC=A3=BC=EB=AC=B8=20url=20=EB=A7=A4=ED=95=91?= =?UTF-8?q?=20=EB=B0=8F=20=EA=B8=B0=EB=B3=B8=20=ED=85=9C=ED=94=8C=EB=A6=BF?= =?UTF-8?q?=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../OwnerFrontendServiceApplication.java | 2 + .../domain/order/web/OrderController.java | 15 +++ .../templates/domain/order/order.html | 105 ++++++++++++++++++ 3 files changed, 122 insertions(+) create mode 100644 owner-frontend-service/src/main/java/com/justpickup/ownerfrontendservice/domain/order/web/OrderController.java create mode 100644 owner-frontend-service/src/main/resources/templates/domain/order/order.html diff --git a/owner-frontend-service/src/main/java/com/justpickup/ownerfrontendservice/OwnerFrontendServiceApplication.java b/owner-frontend-service/src/main/java/com/justpickup/ownerfrontendservice/OwnerFrontendServiceApplication.java index b749864..698f81a 100644 --- a/owner-frontend-service/src/main/java/com/justpickup/ownerfrontendservice/OwnerFrontendServiceApplication.java +++ b/owner-frontend-service/src/main/java/com/justpickup/ownerfrontendservice/OwnerFrontendServiceApplication.java @@ -2,8 +2,10 @@ package com.justpickup.ownerfrontendservice; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.cloud.netflix.eureka.EnableEurekaClient; @SpringBootApplication +@EnableEurekaClient public class OwnerFrontendServiceApplication { public static void main(String[] args) { diff --git a/owner-frontend-service/src/main/java/com/justpickup/ownerfrontendservice/domain/order/web/OrderController.java b/owner-frontend-service/src/main/java/com/justpickup/ownerfrontendservice/domain/order/web/OrderController.java new file mode 100644 index 0000000..c4b4a08 --- /dev/null +++ b/owner-frontend-service/src/main/java/com/justpickup/ownerfrontendservice/domain/order/web/OrderController.java @@ -0,0 +1,15 @@ +package com.justpickup.ownerfrontendservice.domain.order.web; + +import lombok.extern.slf4j.Slf4j; +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.GetMapping; + +@Controller +@Slf4j +public class OrderController { + + @GetMapping("/order") + public String order() { + return "/domain/order/order"; + } +} diff --git a/owner-frontend-service/src/main/resources/templates/domain/order/order.html b/owner-frontend-service/src/main/resources/templates/domain/order/order.html new file mode 100644 index 0000000..7255fa2 --- /dev/null +++ b/owner-frontend-service/src/main/resources/templates/domain/order/order.html @@ -0,0 +1,105 @@ + + + + + + +
+ +

주문

+ + +
2022년 01년 14일
+ + +
+ +
+
+
+ 닉네임 +
+
+
+ + 메뉴1, 메뉴2, 메뉴3 + +
+

+ 오전 11:03 +

+ 상세보기 +
+ +
+
+ + + +
+
+
+ 닉네임 +
+
+
+ + 메뉴1, 메뉴2, 메뉴3, 메뉴4, 메뉴5, 메뉴6 + +
+

+ 오후 04:03 +

+ 상세보기 +
+ +
+
+ + + +
+
+
+ 닉네임 +
+
+
+ + 메뉴1, 메뉴2 + +
+

+ 오후 10:45 +

+ 상세보기 +
+ +
+
+ + +
+ + +
+ + \ No newline at end of file