老鹰去掉账号检测
This commit is contained in:
@@ -534,20 +534,20 @@ namespace Hncore.Pass.Vpn.Service
|
|||||||
public override async Task<bool> Exist(string account)
|
public override async Task<bool> Exist(string account)
|
||||||
{
|
{
|
||||||
// return false;
|
// return false;
|
||||||
var client = CreateHttpClient();
|
// var client = CreateHttpClient();
|
||||||
var map = new Dictionary<string, string>(){
|
// var map = new Dictionary<string, string>(){
|
||||||
{"groupname",account }
|
// {"groupname",account }
|
||||||
};
|
// };
|
||||||
var title = GetOpTitle("Exist", account);
|
// var title = GetOpTitle("Exist", account);
|
||||||
LogHelper.Info(title, map.ToJson());
|
// LogHelper.Info(title, map.ToJson());
|
||||||
|
|
||||||
var ret = await this.NewAccount("w", account, "123");
|
// var ret = await this.NewAccount("w", account, "123");
|
||||||
if (ret.Code == ResultCode.C_SUCCESS)
|
// if (ret.Code == ResultCode.C_SUCCESS)
|
||||||
{
|
// {
|
||||||
await this.Refund(account, "w", 1);
|
// await this.Refund(account, "w", 1);
|
||||||
return false;
|
// return false;
|
||||||
}
|
// }
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user