柚子IP
This commit is contained in:
@@ -57,6 +57,8 @@ namespace Hncore.Pass.Vpn.Service
|
||||
agent = new AgentClient6Service(m_HttpClientFactory) { ClientName = product.GroupNO };
|
||||
if (product.GroupNO == "g7")
|
||||
agent = new AgentClient7Service(m_HttpClientFactory) { ClientName = product.GroupNO };
|
||||
if (product.GroupNO == "g8")
|
||||
agent = new AgentClient8Service(m_HttpClientFactory) { ClientName = product.GroupNO };
|
||||
agent.Product = product;
|
||||
return agent;
|
||||
}
|
||||
@@ -188,6 +190,10 @@ namespace Hncore.Pass.Vpn.Service
|
||||
var agent = GetAgent(product);
|
||||
agent.Init(product.BaseUrl, product.Token);
|
||||
|
||||
Console.WriteLine("========================================================================");
|
||||
Console.WriteLine(packageId);
|
||||
Console.WriteLine(package.PackageType);
|
||||
Console.WriteLine("========================================================================");
|
||||
if (package.PackageType == PackageType.Base)
|
||||
{
|
||||
var ret = await agent.NewAccount(package.OriginKey, account, pwd, connCount, accountType,payCount);
|
||||
|
||||
Reference in New Issue
Block a user