老鹰去掉账号检测

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