diff --git a/Services/Hncore.Pass.Vpn/Service/AgentClient13Service.cs b/Services/Hncore.Pass.Vpn/Service/AgentClient13Service.cs index cd025d5..489ba58 100644 --- a/Services/Hncore.Pass.Vpn/Service/AgentClient13Service.cs +++ b/Services/Hncore.Pass.Vpn/Service/AgentClient13Service.cs @@ -193,6 +193,7 @@ namespace Hncore.Pass.Vpn.Service } } Dictionary map = new Dictionary(){ + {"t_id","121" }, {"product_id",product_id }, {"product_sub_id",product_sub_id }, {"product_item_id",product_item_id }, @@ -462,21 +463,7 @@ namespace Hncore.Pass.Vpn.Service /// public override async Task Exist(string account) { - Dictionary map = new Dictionary(); - map.Add("user", account); - map.Add("type", "0"); - map = signAct(map); - - var client = CreateHttpClient(); - var resp = await client.PostAsForm("https://jyip.net/open-api//check-vpn-account-exists", map); - var content = await resp.Content.ReadAsStringAsync(); - JObject jo = (JObject)JsonConvert.DeserializeObject(content); - - - if (jo["code"].ToString() == "404") { - return false; - } - return true; + return false; }