diff --git a/web/admin/guadan/create.aspx b/web/admin/guadan/create.aspx index 01b8953..6a92d0c 100644 --- a/web/admin/guadan/create.aspx +++ b/web/admin/guadan/create.aspx @@ -1393,7 +1393,7 @@ message: `確定要將 ${guest.follower.u_name || ''} 退房嗎?`, onConfirm: async () => { try { - const response = await axios.post(HTTP_HOST + `/api/guadanorderguest/checkout`, null, { + const response = await axios.post(HTTP_HOST + HTTP_HOST + `api/guadanorderguest/checkout`, null, { params: { uuid: guest.uuid } }); @@ -1594,7 +1594,7 @@ onConfirm: async () => { try { // 發送請求到後端 API - const response = await axios.post(HTTP_HOST + `/api/guadanorderguest/checkin`, null, { + const response = await axios.post(HTTP_HOST + `api/guadanorderguest/checkin`, null, { params: { uuid: guest.uuid } });