diff --git a/web/admin/guadan/create.aspx b/web/admin/guadan/create.aspx index e0b8a1b..b74fff9 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(`/api/guadanorderguest/checkout`, null, { + const response = await axios.post(HTTP_HOST + `api/guadanorderguest/checkout`, null, { params: { uuid: guest.uuid } }); @@ -1594,7 +1594,7 @@ onConfirm: async () => { try { // 發送請求到後端 API - const response = await axios.post(`/api/guadanorderguest/checkin`, null, { + const response = await axios.post(HTTP_HOST + `api/guadanorderguest/checkin`, null, { params: { uuid: guest.uuid } });