fo bo 머지작업 - 오류수정

This commit is contained in:
jazz
2025-12-01 12:04:52 +09:00
parent 99eb2d1e58
commit 23028a50fe
7 changed files with 170 additions and 152 deletions

View File

@@ -45,7 +45,6 @@ public class BOAdScriptController {
Map<String, Object> content = new HashMap<>(); Map<String, Object> content = new HashMap<>();
//광고 스크립트 목록조회 //광고 스크립트 목록조회
List<DataMap> selectAdScriptList = service.selectBOAdScriptList(vo); List<DataMap> selectAdScriptList = service.selectBOAdScriptList(vo);

View File

@@ -507,7 +507,7 @@ public class GoodsController {
// sendToResrc.ofGetWithParam(RESRC.GCONEBO, "/gcone/ordr/npay/config/loadNpayConfigDetail", param) // sendToResrc.ofGetWithParam(RESRC.GCONEBO, "/gcone/ordr/npay/config/loadNpayConfigDetail", param)
// ); // );
Map<String,Object> naverMap = (Map<String, Object>) naverKey.get("npayConfigDetail"); BONpayConfigVO naverMap = (BONpayConfigVO) naverKey.get("npayConfigDetail");
model.addAttribute("kakaoKey", kakaoKey); model.addAttribute("kakaoKey", kakaoKey);
@@ -515,9 +515,9 @@ public class GoodsController {
// 네이버 페이 사용 여부 // 네이버 페이 사용 여부
model.addAttribute("naverPayYn", naverKey.get("naverPayYn").toString()); model.addAttribute("naverPayYn", naverKey.get("naverPayYn").toString());
// 네이버 페이 공통인증키 // 네이버 페이 공통인증키
model.addAttribute("commonCertiKey", naverMap.get("commonCertiKey").toString()); model.addAttribute("commonCertiKey", naverMap.getCommonCertiKey());
// 네이버 페이 BUTTON_KEY // 네이버 페이 BUTTON_KEY
model.addAttribute("buttonKey", naverMap.get("buttonKey").toString()); model.addAttribute("buttonKey", naverMap.getButtonKey());
return Util.getDeviceType(request)+"/goods/GoodsDtlR"; return Util.getDeviceType(request)+"/goods/GoodsDtlR";
} }

View File

@@ -622,16 +622,14 @@ public class MainController {
String kakaoKey = ""; String kakaoKey = "";
if(resultMap.containsKey("paramVO")){ if(resultMap.containsKey("paramVO")){
Map<String, Object> paramVO = (Map<String, Object>) resultMap.get("paramVO"); BOItrntStrVO paramVO = (BOItrntStrVO) resultMap.get("paramVO");
if(!ObjectUtils.isEmpty(paramVO.get("sopmalCd"))){ if(!ObjectUtils.isEmpty(paramVO.getSopmalCd())){
kakaoKey = kakaoProperties.getKeyForDomain(paramVO.get("sopmalCd").toString()); kakaoKey = kakaoProperties.getKeyForDomain(paramVO.getSopmalCd());
} }
} }
model.addAttribute("kakaoKey", kakaoKey); model.addAttribute("kakaoKey", kakaoKey);
model.addAttribute("resultMap", resultMap); model.addAttribute("resultMap", resultMap);
// return "sopmal/main/StrDtlInqireR"; // return "sopmal/main/StrDtlInqireR";
return Util.getDeviceType(request) + "/main/StrDtlInqireR"; return Util.getDeviceType(request) + "/main/StrDtlInqireR";

View File

@@ -18,6 +18,7 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
@ComponentScan(basePackages = { @ComponentScan(basePackages = {
"com.wb.domainserver.domain.mngr" "com.wb.domainserver.domain.mngr"
, "com.wb.domainserver.domain.admin" , "com.wb.domainserver.domain.admin"
, "com.wb.domainserver.domain.crm"
, "com.wb.domainserver.interceptor.mngr" , "com.wb.domainserver.interceptor.mngr"
, "com.wb.domainserver.util.file" , "com.wb.domainserver.util.file"
// , "com.wb.domainserver.domain.mq.controller" /*ERP batch Controller 위치*/ // , "com.wb.domainserver.domain.mq.controller" /*ERP batch Controller 위치*/

View File

@@ -40,6 +40,7 @@ import org.springframework.security.authorization.method.AuthorizationManagerBef
import org.springframework.security.config.annotation.web.builders.HttpSecurity; import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity; import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
import org.springframework.security.config.annotation.web.configurers.AbstractHttpConfigurer; import org.springframework.security.config.annotation.web.configurers.AbstractHttpConfigurer;
import org.springframework.security.config.annotation.web.configurers.HeadersConfigurer;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
import org.springframework.security.web.SecurityFilterChain; import org.springframework.security.web.SecurityFilterChain;
import org.springframework.security.web.authentication.logout.LogoutFilter; import org.springframework.security.web.authentication.logout.LogoutFilter;
@@ -112,8 +113,9 @@ public class ResourceServerConfig {
OrRequestMatcher resourceMatchers = new OrRequestMatcher(resourcePath); OrRequestMatcher resourceMatchers = new OrRequestMatcher(resourcePath);
return http return http
.csrf(AbstractHttpConfigurer::disable)
.securityMatcher("/sopmal/**", "/oauth2/**", "/login/oauth2/**") .securityMatcher("/sopmal/**", "/oauth2/**", "/login/oauth2/**")
.headers((headers)->headers.frameOptions(HeadersConfigurer.FrameOptionsConfig::sameOrigin))
.csrf(AbstractHttpConfigurer::disable)
.authorizeHttpRequests(authorize -> .authorizeHttpRequests(authorize ->
authorize authorize
.requestMatchers(authMatchers).authenticated() .requestMatchers(authMatchers).authenticated()
@@ -144,7 +146,6 @@ public class ResourceServerConfig {
.deleteCookies("JSESSIONID") .deleteCookies("JSESSIONID")
.logoutSuccessHandler(new CustomLogoutSuccessHandler()) .logoutSuccessHandler(new CustomLogoutSuccessHandler())
) )
.build(); .build();
} }

View File

@@ -8,10 +8,10 @@
</head> </head>
<body> <body>
<style> <style>
#layout_config { #layout_config {
width: 1200px; width: 1200px;
margin: auto; margin: auto;
} }
</style> </style>
<div id="layout_config"> <div id="layout_config">
<div id="layout_config_full"> <div id="layout_config_full">
@@ -26,14 +26,33 @@
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
<ul> <ul>
<li <c:if test = "${dv eq 'company'}">class="on"</c:if> id ="company"><a href="/sopmal/main/selectiframeBrandStroyForm?dv=company">참다한 소개</a></li><!-- 활성화 class="on" --> <!-- 활성화 class="on" -->
<li <c:if test = "${dv eq 'ceo'}">class="on"</c:if> id ="ceo"><a href="/sopmal/main/selectiframeBrandStroyForm?dv=ceo">CEO인사</a></li> <li <c:if test = "${dv eq 'company'}">class="on"</c:if> id ="company">
<li <c:if test = "${dv eq 'technology'}">class="on"</c:if> id ="technology"><a href="/sopmal/main/selectiframeBrandStroyForm?dv=technology">참다한의 기술</a></li> <a href="/sopmal/main/selectiframeBrandStroyForm?dv=company">참다한 소개</a>
<li <c:if test = "${dv eq 'history'}">class="on"</c:if> id ="history"><a href="/sopmal/main/selectiframeBrandStroyForm?dv=history">회사연혁</a></li> </li>
<li <c:if test = "${dv eq 'map'}">class="on"</c:if> id ="map"><a href="/sopmal/main/selectiframeBrandStroyForm?dv=map">조직도</a></li> <li <c:if test = "${dv eq 'ceo'}">class="on"</c:if> id ="ceo">
<a href="/sopmal/main/selectiframeBrandStroyForm?dv=ceo">CEO인사</a>
</li>
<li <c:if test = "${dv eq 'technology'}">class="on"</c:if> id ="technology">
<a href="/sopmal/main/selectiframeBrandStroyForm?dv=technology">참다한의 기술</a>
</li>
<li <c:if test = "${dv eq 'history'}">class="on"</c:if> id ="history">
<a href="/sopmal/main/selectiframeBrandStroyForm?dv=history">회사연혁</a>
</li>
<%--
<li <c:if test = "${dv eq 'map'}">class="on"</c:if> id ="map">
<a href="/sopmal/main/selectiframeBrandStroyForm?dv=map">조직도</a>
</li>
--%>
<%--<li <c:if test = "${dv eq 'company'}">class="on"</c:if> id ="company"><a href="chamdahan_tab6.html">언론속의 참다한</a></li>--%> <%--<li <c:if test = "${dv eq 'company'}">class="on"</c:if> id ="company"><a href="chamdahan_tab6.html">언론속의 참다한</a></li>--%>
<li <c:if test = "${dv eq 'way'}">class="on"</c:if> id ="way"><a href="/sopmal/main/selectiframeBrandStroyForm?dv=way">오시는길</a></li> <%--
<li <c:if test = "${dv eq 'script'}">class="on"</c:if> id ="script"><a href="/sopmal/main/selectiframeBrandStroyForm?dv=script">온체식참다한</a></li> <li <c:if test = "${dv eq 'way'}">class="on"</c:if> id ="way">
<a href="/sopmal/main/selectiframeBrandStroyForm?dv=way">오시는길</a>
</li>
--%>
<li <c:if test = "${dv eq 'script'}">class="on"</c:if> id ="script">
<a href="/sopmal/main/selectiframeBrandStroyForm?dv=script">온체식참다한</a>
</li>
</ul> </ul>
</div> </div>