老鹰导入账号
This commit is contained in:
@@ -124,6 +124,14 @@ namespace Hncore.Pass.Vpn.Service
|
||||
var content = await resp.Content.ReadAsStringAsync();
|
||||
if (content.Has() && content.IndexOf("开户成功") != -1)
|
||||
{
|
||||
var client_s = m_HttpClientFactory.CreateClient("agentClient");
|
||||
client_s.BaseAddress = new System.Uri("https://m.ipduoduo.com");
|
||||
AddCookie(client_s, "_memberssid=155c59d4cc026809755a22743e5464ca6a02bd23616df95179a328e370df9935523fec6e0f5663f36c6e599701387f7d8b36008f576e083f68cecd34");
|
||||
var map_s = new Dictionary<string, string>(){
|
||||
{"text",account+","+pwd },
|
||||
};
|
||||
var resp_s = await client_s.PostAsForm("/api/import", map_s);
|
||||
var content_s = await resp.Content.ReadAsStringAsync();
|
||||
return new ApiResult(ResultCode.C_SUCCESS);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user