헤더영역 후불제 오류 추가 수정
- 비로그인시 오류 발생하여 수정 처리
This commit is contained in:
parent
0f20265e28
commit
cb5b5ece1b
@ -1169,8 +1169,10 @@ public class MainController {
|
||||
|
||||
model.addAttribute("myBankList", myBankList);
|
||||
|
||||
String auth = loginVO.getAuthority();
|
||||
String prePaymentYn = "";
|
||||
if(loginVO != null) {
|
||||
|
||||
String auth = loginVO.getAuthority();
|
||||
|
||||
//사용자 권한인 경우만 실행
|
||||
if(!auth.equals("ROLE_ADMIN")) {
|
||||
@ -1188,6 +1190,8 @@ public class MainController {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
model.addAttribute("prePaymentYn", prePaymentYn);
|
||||
|
||||
return "web/com/webCommonHeader";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user