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