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 = {