天天蘑菇通知
This commit is contained in:
@@ -537,16 +537,16 @@ namespace Hncore.Pass.Vpn.Service
|
||||
/// <returns></returns>
|
||||
public override async Task<bool> Exist(string account)
|
||||
{
|
||||
var client = CreateHttpClient();
|
||||
var title = GetOpTitle("Exist", account);
|
||||
LogHelper.Info(title, account);
|
||||
var testRet = await this.NewAccount("free", account, "1234", 1, 0);
|
||||
if (testRet.Code == ResultCode.C_SUCCESS)
|
||||
{
|
||||
await DeleteAccount(account);
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
// var client = CreateHttpClient();
|
||||
// var title = GetOpTitle("Exist", account);
|
||||
// LogHelper.Info(title, account);
|
||||
// var testRet = await this.NewAccount("free", account, "1234", 1, 0);
|
||||
// if (testRet.Code == ResultCode.C_SUCCESS)
|
||||
// {
|
||||
// await DeleteAccount(account);
|
||||
// return false;
|
||||
// }
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user