ubuntu 서버에서 thymeleaf 경로 오류 수정, DB접속 오류 수정.
parent
3eb76f75df
commit
16b6072ffe
|
|
@ -17,7 +17,7 @@ public class CodeMgtController {
|
|||
|
||||
@GetMapping("/codeMgtPage")
|
||||
public ModelAndView codeMgtPage() {
|
||||
ModelAndView mav = new ModelAndView("/adminPage/codeMgt/codeMgt");
|
||||
ModelAndView mav = new ModelAndView("adminPage/codeMgt/codeMgt");
|
||||
return mav;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ public class BaseController {
|
|||
|
||||
@GetMapping("/login")
|
||||
public ModelAndView goLogin() {
|
||||
ModelAndView mav = new ModelAndView("/login/login");
|
||||
ModelAndView mav = new ModelAndView("login/login");
|
||||
mav.addObject("OgList", codeMgtService.selectCodeMgtList("OG"));
|
||||
mav.addObject("OfcList", codeMgtService.selectCodeMgtList("OFC"));
|
||||
return mav;
|
||||
|
|
@ -42,7 +42,7 @@ public class BaseController {
|
|||
|
||||
@GetMapping("/login-error")
|
||||
public ModelAndView loginError() {
|
||||
ModelAndView mav = new ModelAndView("/login/login");
|
||||
ModelAndView mav = new ModelAndView("login/login");
|
||||
mav.addObject("OgList", codeMgtService.selectCodeMgtList("OG"));
|
||||
mav.addObject("OfcList", codeMgtService.selectCodeMgtList("OFC"));
|
||||
mav.addObject("loginError", true);
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ public class MenuMgtController {
|
|||
|
||||
@GetMapping("/menuMgtPage")
|
||||
public ModelAndView menuMgtPage(MenuMgt menuMgt) {
|
||||
ModelAndView mav = new ModelAndView("/adminPage/menuMgt/menuMgt");
|
||||
ModelAndView mav = new ModelAndView("adminPage/menuMgt/menuMgt");
|
||||
menuMgt.setQueryInfo();
|
||||
mav.addObject("menuMgtList", menuMgtService.selectMenuMgtList(menuMgt));
|
||||
menuMgt.setContentCnt(menuMgtService.selectMenuMgtListCnt(menuMgt));
|
||||
|
|
@ -31,7 +31,7 @@ public class MenuMgtController {
|
|||
|
||||
@GetMapping("/menuEditModal")
|
||||
public ModelAndView menuEditModal(MenuMgt menuMgt){
|
||||
ModelAndView mav = new ModelAndView("/adminPage/menuMgt/menuEditModal");
|
||||
ModelAndView mav = new ModelAndView("adminPage/menuMgt/menuEditModal");
|
||||
mav.addObject("menuMgt", menuMgt);
|
||||
mav.addObject("cat1List", codeMgtService.selectCodeMgtList("CAT1"));
|
||||
mav.addObject("cat2List", codeMgtService.selectCodeMgtList("CAT2"));
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ spring.sql.init.encoding=utf-8
|
|||
#spring.datasource.driverClassName=net.sf.log4jdbc.sql.jdbcapi.DriverSpy
|
||||
spring.datasource.driverClassName=org.postgresql.Driver
|
||||
#spring.datasource.url=jdbc:log4jdbc:postgresql://118.219.150.34:50503/faisp
|
||||
spring.datasource.url=jdbc:postgresql://localhost:5432/faisp
|
||||
spring.datasource.url=jdbc:postgresql://118.219.150.34:50503/faisp
|
||||
spring.datasource.username=dbnt0031
|
||||
spring.datasource.password=dbnt0928!
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue