문구 변경(승인->승인됨, 철회->삭제)

main
유지인 2025-11-10 17:57:45 +09:00
parent 8cbba947bc
commit fade8f5a92
2 changed files with 4 additions and 4 deletions

View File

@ -98,7 +98,7 @@
WHERE API_SEQ IN (#{apiSeq})
</update>
<!-- 사용자 API 신청 철회하기 -->
<!-- 사용자 API 신청 삭제하기 -->
<delete id="deleteWebApiKey" parameterType="map">
DELETE
FROM WEB_API_KEY

View File

@ -124,7 +124,7 @@
// 승인 상태에 따른 표시
let approveHtml = "";
if (item.approveYn == "Y") {
approveHtml = "승인";
approveHtml = "승인";
} else {
approveHtml = `<button class="approve-btn" data-id="\${item.apiSeq}" onclick="approveKey(this);">승인</button>`;
}
@ -138,7 +138,7 @@
<td class="text-center">\${item.startDt}</td>
<td class="text-center">\${item.endDt}</td>
<td class="text-center">\${approveHtml}</td>
<td class="text-center"><button class="approve-btn" data-id="\${item.apiSeq}" onclick="revokeKey(this);">철회</button></td>
<td class="text-center"><button class="approve-btn" data-id="\${item.apiSeq}" onclick="revokeKey(this);">삭제</button></td>
</tr>
`;
return html;
@ -173,7 +173,7 @@
});
}
// 사용자 API 신청 철회하기
// 사용자 API 신청 삭제하기
function revokeKey(e) {
if(confirm("사용자의 API 신청을 삭제합니다.")) {
let apiSeq = $(e).data("id")