Compare commits
2 Commits
46b7a31d57
...
53f5f0d3bb
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
53f5f0d3bb | ||
|
|
5fad79ea8a |
@@ -125,10 +125,7 @@ public class GnrlscttController {
|
||||
*/
|
||||
@Policy(AuthPolicy.RESTRICTED)
|
||||
@RequestMapping(value = "/selectBbscttListInqireForm")
|
||||
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;
|
||||
public String selectBbscttListInqireForm(BOGnrlbbscttVO bbsctt, ModelMap model, @CookieValue(value = "authSopmalCd") String authSopmalCd) {
|
||||
bbsctt.setRvwBbscttDv("bbsctt");
|
||||
bbsctt.setServerDv("mngr");
|
||||
bbsctt.setSopmalCd(authSopmalCd);
|
||||
|
||||
@@ -17,7 +17,6 @@ import com.wb.domainserver.security.authentication.AnonymousUser;
|
||||
import com.wb.domainserver.security.authentication.MemberJwtContextHolder;
|
||||
import com.wb.domainserver.security.authorization.annotation.AuthPolicy;
|
||||
import com.wb.domainserver.security.authorization.annotation.Policy;
|
||||
import com.wb.domainserver.util.CookieUtils;
|
||||
import com.wb.domainserver.util.dataaccess.DataMap;
|
||||
import com.wb.domainserver.util.string.StringUtil;
|
||||
import jakarta.servlet.http.Cookie;
|
||||
@@ -96,10 +95,6 @@ public class MngrMainController {
|
||||
}
|
||||
}
|
||||
}
|
||||
// 로그인 직후 전달된 쇼핑몰 코드를 이후 대시보드 상세 링크에서도 사용할 수 있도록 유지한다.
|
||||
if (!StringUtil.isEmpty(authSopmalCd)) {
|
||||
CookieUtils.createCookie("authSopmalCd", authSopmalCd, "/", true, request, response);
|
||||
}
|
||||
vo.setSopmalCd(authSopmalCd);
|
||||
|
||||
DataMap resultMap = new DataMap();
|
||||
@@ -118,7 +113,6 @@ public class MngrMainController {
|
||||
throw new WnbtRestException(ErrorCode.INTERNAL_SERVER_ERROR);
|
||||
}
|
||||
model.addAttribute("resultMap", resultMap);
|
||||
model.addAttribute("authSopmalCd", authSopmalCd);
|
||||
|
||||
return "mngr/bbs/bbsmngr/BbscttDshboardForm";
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
<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>>
|
||||
<td class="left">
|
||||
<a href="<c:out value='${url}${bbs.bbsId}&bbscttInnb=${bbsctt.bbscttInnb}&dashAt=Y&authSopmalCd=${authSopmalCd}'/>">
|
||||
<a href="<c:out value='${url}${bbs.bbsId}&bbscttInnb=${bbsctt.bbscttInnb}&dashAt=Y'/>">
|
||||
<c:out value="${bbsctt.sj}"/>
|
||||
<c:if test="${bbsctt.isfiles eq 1 || bbsctt.npayImage eq 'Y'}"><%--첨부파일여부--%>
|
||||
<i class="icon icon_image-badge"></i>
|
||||
@@ -99,7 +99,7 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<a href="<c:out value="${url}${bbs.bbsId}&authSopmalCd=${authSopmalCd}"/>" class="content-section__col-2-more">+ 더보기</a>
|
||||
<a href="<c:out value="${url}${bbs.bbsId}"/>" class="content-section__col-2-more">+ 더보기</a>
|
||||
</section>
|
||||
</c:forEach>
|
||||
</c:if>
|
||||
|
||||
Reference in New Issue
Block a user