From 7af3544fb57bc370b8ae8858b349c2e02ced7705 Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Tue, 13 Jun 2023 14:11:40 +0900 Subject: [PATCH] no message --- pom.xml | 53 ------------------- .../java/cokr/xit/fims/FimsApplication.java | 13 ----- .../java/cokr/xit/fims/MainController.java | 38 ------------- 3 files changed, 104 deletions(-) delete mode 100644 pom.xml delete mode 100644 src/main/java/cokr/xit/fims/FimsApplication.java delete mode 100644 src/main/java/cokr/xit/fims/MainController.java diff --git a/pom.xml b/pom.xml deleted file mode 100644 index 81264782..00000000 --- a/pom.xml +++ /dev/null @@ -1,53 +0,0 @@ - - - 4.0.0 - - - org.springframework.boot - spring-boot-starter-parent - 2.7.12 - - - - cokr.xit.app - fims - 0.0.1-SNAPSHOT - fims - fims - - - 17 - - - - - cokr.xit.boot - xit-base-starter - 23.04.01-SNAPSHOT - - - org.mariadb.jdbc - mariadb-java-client - runtime - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - org.projectlombok - lombok - - - - - - - - \ No newline at end of file diff --git a/src/main/java/cokr/xit/fims/FimsApplication.java b/src/main/java/cokr/xit/fims/FimsApplication.java deleted file mode 100644 index f6d5fb7b..00000000 --- a/src/main/java/cokr/xit/fims/FimsApplication.java +++ /dev/null @@ -1,13 +0,0 @@ -package cokr.xit.fims; - -import org.springframework.boot.SpringApplication; - -import cokr.xit.base.boot.XitBaseApplication; - -public class FimsApplication extends XitBaseApplication { - - public static void main(String[] args) { - SpringApplication.run(FimsApplication.class, args); - } - -} diff --git a/src/main/java/cokr/xit/fims/MainController.java b/src/main/java/cokr/xit/fims/MainController.java deleted file mode 100644 index 401a51a7..00000000 --- a/src/main/java/cokr/xit/fims/MainController.java +++ /dev/null @@ -1,38 +0,0 @@ -package cokr.xit.fims; - -import java.util.List; - -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Controller; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.servlet.ModelAndView; -import org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping; - -import cokr.xit.foundation.data.DataObject; -import cokr.xit.foundation.web.AbstractController; -import cokr.xit.foundation.web.RequestHandlerReader; - -@Controller -public class MainController extends AbstractController { - @Autowired - private RequestMappingHandlerMapping requestHandlers; - - @GetMapping(name="로그인", value="/login.do") - public String loginPage() { - return "login"; - } - - @GetMapping(name="홈", value={"/", "/index.do"}) - public ModelAndView mainPage() { - return new ModelAndView("index"); - } - - @RequestMapping(name="기능 URL 선택", value="/urls.do") - public ModelAndView getURLs(boolean multiple) { - List urls = new RequestHandlerReader().read(requestHandlers); - return new ModelAndView("select-url") - .addObject("multiple", multiple) - .addObject("urls", toJson(urls)); - } -} \ No newline at end of file