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) @Policy(AuthPolicy.RESTRICTED)
@RequestMapping(value = "/selectBbscttListInqireForm") @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.setRvwBbscttDv("bbsctt");
bbsctt.setServerDv("mngr"); bbsctt.setServerDv("mngr");
bbsctt.setSopmalCd(authSopmalCd); bbsctt.setSopmalCd(authSopmalCd);

View File

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

View File

@@ -59,7 +59,7 @@
<c:forEach var="bbsctt" items="${bbs.bbscttList }" varStatus="statusBbsctt" begin="0" end="4"> <c:forEach var="bbsctt" items="${bbs.bbscttList }" varStatus="statusBbsctt" begin="0" end="4">
<tr <c:if test = "${(bbs.bbsTyCd eq '04' || bbs.bbsTyCd eq '05') && bbsctt.status eq '답변대기'}">class="sendOut-info__reseller"</c:if>> <tr <c:if test = "${(bbs.bbsTyCd eq '04' || bbs.bbsTyCd eq '05') && bbsctt.status eq '답변대기'}">class="sendOut-info__reseller"</c:if>>
<td class="left"> <td class="left">
<a href="<c:out value='${url}${bbs.bbsId}&bbscttInnb=${bbsctt.bbscttInnb}&dashAt=Y'/>"> <a href="<c:out value='${url}${bbs.bbsId}&bbscttInnb=${bbsctt.bbscttInnb}&dashAt=Y&authSopmalCd=${authSopmalCd}'/>">
<c:out value="${bbsctt.sj}"/> <c:out value="${bbsctt.sj}"/>
<c:if test="${bbsctt.isfiles eq 1 || bbsctt.npayImage eq 'Y'}"><%--첨부파일여부--%> <c:if test="${bbsctt.isfiles eq 1 || bbsctt.npayImage eq 'Y'}"><%--첨부파일여부--%>
<i class="icon icon_image-badge"></i> <i class="icon icon_image-badge"></i>
@@ -99,7 +99,7 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<a href="<c:out value="${url}${bbs.bbsId}"/>" class="content-section__col-2-more">+ 더보기</a> <a href="<c:out value="${url}${bbs.bbsId}&authSopmalCd=${authSopmalCd}"/>" class="content-section__col-2-more">+ 더보기</a>
</section> </section>
</c:forEach> </c:forEach>
</c:if> </c:if>