dev #934

Merged
ysCha merged 8 commits from dev into dev-deploy 2026-06-29 16:38:37 +09:00
Showing only changes of commit b031e703ec - Show all commits

View File

@ -80,7 +80,6 @@ export default function MainContents({ setFaqOpen, setFaqModalNoticeNo }) {
// //
const fetchNoticeList = async () => { const fetchNoticeList = async () => {
try {
const param = { const param = {
schNoticeTpCd: 'QC', schNoticeTpCd: 'QC',
schNoticeClsCd: 'NOTICE', schNoticeClsCd: 'NOTICE',
@ -88,6 +87,7 @@ export default function MainContents({ setFaqOpen, setFaqModalNoticeNo }) {
endRow: 1, endRow: 1,
} }
const noticeApiUrl = `api/board/list?${queryStringFormatter(param)}` const noticeApiUrl = `api/board/list?${queryStringFormatter(param)}`
try {
await promiseGet({ url: noticeApiUrl }).then((res) => { await promiseGet({ url: noticeApiUrl }).then((res) => {
if (res.status === 200) { if (res.status === 200) {
setRecentNoticeList(res.data.data) setRecentNoticeList(res.data.data)
@ -111,7 +111,6 @@ export default function MainContents({ setFaqOpen, setFaqModalNoticeNo }) {
//FAQ //FAQ
const fetchFaqList = async () => { const fetchFaqList = async () => {
try {
const param = { const param = {
schNoticeTpCd: 'QC', schNoticeTpCd: 'QC',
schNoticeClsCd: 'FAQ', schNoticeClsCd: 'FAQ',
@ -119,6 +118,7 @@ export default function MainContents({ setFaqOpen, setFaqModalNoticeNo }) {
endRow: 3, endRow: 3,
} }
const faqApiUrl = `api/board/list?${queryStringFormatter(param)}` const faqApiUrl = `api/board/list?${queryStringFormatter(param)}`
try {
await promiseGet({ await promiseGet({
url: faqApiUrl, url: faqApiUrl,
}).then((res) => { }).then((res) => {