老鹰去掉账号检测

This commit is contained in:
“wanyongkang”
2021-02-22 13:23:37 +08:00
parent c96637bec9
commit dc9480f621

View File

@@ -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;
}
}
}