diff --git a/Host/Views/User/HttpPackageList.cshtml b/Host/Views/User/HttpPackageList.cshtml index 5196d6e..4122f11 100644 --- a/Host/Views/User/HttpPackageList.cshtml +++ b/Host/Views/User/HttpPackageList.cshtml @@ -671,7 +671,7 @@ } }, create_api_link(){ - this.api_link = 'https://get.ip.juip.com/get/ip?'; + this.api_link = 'http://get.ip.juip.com/get/ip?'; var regions_list = this.regions.join(","); for (let key in this.api_link_item) { diff --git a/Services/Hncore.Pass.Vpn/Service/AgentClient5Service.cs b/Services/Hncore.Pass.Vpn/Service/AgentClient5Service.cs index e27e55a..bbb6a39 100644 --- a/Services/Hncore.Pass.Vpn/Service/AgentClient5Service.cs +++ b/Services/Hncore.Pass.Vpn/Service/AgentClient5Service.cs @@ -63,10 +63,6 @@ namespace Hncore.Pass.Vpn.Service JObject jo = (JObject)JsonConvert.DeserializeObject(content); var status = jo["code"].ToString(); - Console.WriteLine("================================================="); - Console.WriteLine(jo); - Console.WriteLine("================================================="); - if (status =="0") { @@ -114,7 +110,6 @@ namespace Hncore.Pass.Vpn.Service /// public override async Task NewReAccount(string packageKey, string account, int connCount, int payCount = 1) { - var password = "FyEomeyZ7P8pK3QQ5RcjVw=="; var url = "http://webapi.shenlongip.com/renewvpn?username=admin1&password="+password+"&mealId="+packageKey+"&vpnAccount="+account; @@ -196,14 +191,15 @@ namespace Hncore.Pass.Vpn.Service { var trData = new OriginAccountModel { + Id = account, Account = account, - Pwd = jo["data"]["vpnPassword"].ToString(), - AccountType = jo["data"]["mealType"].ToString(), - Package = jo["data"]["mealType"].ToString(), + Pwd = "", + AccountType = "", + Package = "", RegistTime = "", EndTime = "", RestTime = "", - ConnectCount = jo["data"]["mealTylinkspe"].ToString(), + ConnectCount = "", Amount = "", IsActive = "", Remark = "",