fix: 관리자 대시보드 게시글 링크 쇼핑몰 코드 전달

This commit is contained in:
이주일
2026-08-26 23:07:17 +09:00
parent 4e39452a01
commit 46b7a31d57
3 changed files with 8 additions and 4 deletions

View File

@@ -125,7 +125,10 @@ public class GnrlscttController {
*/
@Policy(AuthPolicy.RESTRICTED)
@RequestMapping(value = "/selectBbscttListInqireForm")
public String selectBbscttListInqireForm(BOGnrlbbscttVO bbsctt, ModelMap model, @CookieValue(value = "authSopmalCd") String authSopmalCd) {
public String selectBbscttListInqireForm(BOGnrlbbscttVO bbsctt, ModelMap model,
@RequestParam(value = "authSopmalCd", required = false) String requestAuthSopmalCd,
@CookieValue(value = "authSopmalCd", required = false) String cookieAuthSopmalCd) {
String authSopmalCd = StringUtil.isEmpty(requestAuthSopmalCd) ? cookieAuthSopmalCd : requestAuthSopmalCd;
bbsctt.setRvwBbscttDv("bbsctt");
bbsctt.setServerDv("mngr");
bbsctt.setSopmalCd(authSopmalCd);
@@ -1916,4 +1919,4 @@ public class GnrlscttController {
.build()
);
}
}
}

View File

@@ -118,6 +118,7 @@ public class MngrMainController {
throw new WnbtRestException(ErrorCode.INTERNAL_SERVER_ERROR);
}
model.addAttribute("resultMap", resultMap);
model.addAttribute("authSopmalCd", authSopmalCd);
return "mngr/bbs/bbsmngr/BbscttDshboardForm";