Normalize admin routes and docker config

This commit is contained in:
Lectom C Han
2026-02-04 12:40:02 +09:00
parent bf86b1d1e7
commit 410b2b7b48
30 changed files with 467 additions and 231 deletions

View File

@@ -288,7 +288,7 @@ function createProductList() {
new w2grid({
name: 'productList',
box: '#productList',
url: '/kngil/bbs/adm_product_popup.php',
url: '/admin/api/product',
columns: [
{ field: 'itm_nm', text: '상품명', size: '120px' },
{
@@ -413,7 +413,7 @@ function deleteServiceImmediately(row) {
sq_no: row.sq_no
})
fetch('/kngil/bbs/adm_service.php', {
fetch('/admin/api/service', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
@@ -446,7 +446,7 @@ function isServiceItem(r) {
------------------------------------------------- */
function loadExistingPurchase(memberId, buyDate) {
fetch('/kngil/bbs/adm_service.php', {
fetch('/admin/api/service', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
@@ -606,7 +606,7 @@ function saveService(ctx) {
_deleted: r._deleted || false
}))
fetch('/kngil/bbs/adm_service.php', {
fetch('/admin/api/service', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({