fix : 로그인 및 게시판 오류

This commit is contained in:
jazz
2025-12-31 11:30:22 +09:00
parent 65d920874f
commit 05e09659b2
7 changed files with 28 additions and 13 deletions

View File

@@ -152,12 +152,14 @@
$.ajax({
type: "post",
url: "<c:url value ='/sopmal/csc/selectBbscttCn'/>",
data: {
contentType: 'application/json',
data: JSON.stringify({
bbsId: bbsId,
bbscttInnb: bbscttInnb,
sopmalCd: sopmalCd
},
}),
success: function (data) {
console.log(data);
let cn = JSON.parse(data.resBody.result);
$("#cnDiv").html(cn.cn);
if ($("#regusrDvCd").val() === '01' || $("#regusrDvCd").val() === '99') {

View File

@@ -217,11 +217,11 @@
$.ajax({
type: "post",
url: "<c:url value ='/sopmal/csc/selectBbscttCn'/>",
data: {
data: JSON.stringify({
bbsId: bbsId,
bbscttInnb: bbscttInnb,
sopmalCd: sopmalCd
},
}),
success: function (data) {
let cn = JSON.parse(data.resBody.result).cn;
$("#cnBbsUpdt").val(cn);

View File

@@ -272,10 +272,10 @@
const bbsId = $("#bbsId").val();
$.ajax({
type: "post",
data: {
data: JSON.stringify({
bbscttInnb: bbscttInnb
,bbsId: bbsId
},
}),
url: '/sopmal/csc/selectBbscttCn',
success: function (data) {
const result = JSON.parse(data.resBody.result);