From b55e8aa43915a25a911ef4bca21416bca1e76e42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”> Date: Thu, 15 May 2025 14:14:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=A0=E9=99=A4=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Host/Views/User/MyAccounts.cshtml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/Host/Views/User/MyAccounts.cshtml b/Host/Views/User/MyAccounts.cshtml index 088bc0c..4da46d2 100644 --- a/Host/Views/User/MyAccounts.cshtml +++ b/Host/Views/User/MyAccounts.cshtml @@ -379,6 +379,7 @@ 剩余时间 在线及踢线 选择地区 + 操作 软件下载 @foreach (var item in Model) @@ -402,6 +403,7 @@ 查看 切换地区 + 删除 下载 } else { @@ -423,6 +425,7 @@ 查看 切换地区 + 删除 下载 } @@ -659,6 +662,30 @@ } ); }, + deleteacct(Id) { + + let data = { + cookie:document.cookie, + id: Id + } + + + $.ajax({ + type: 'POST', + url: 'https://php-api.juip.com/manager/account/delete', + dataType: "json", + contentType: "application/json", + data: JSON.stringify(data), + beforeSend: function(xhr) { + xhr.withCredentials = true; + }, + crossDomain: true, + success: function (res) { + alert('删除成功'); + location.reload(); + } + }); + }, change_ip(account_id,package,account,old_ip){ this.province_city = []; let data = {