天天蘑菇通知

This commit is contained in:
“wanyongkang”
2021-04-15 15:08:16 +08:00
parent 9398e54ab0
commit 81028aebd3
4 changed files with 51 additions and 51 deletions

View File

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