续费新开 已删除帐号处理
This commit is contained in:
@@ -72,7 +72,7 @@ namespace Hncore.Pass.Vpn.Service
|
||||
|
||||
public async Task<ProductAccountEntity> GetAccountInfo(string accout, int userId)
|
||||
{
|
||||
return await this.Query(true).FirstOrDefaultAsync(m => m.Account == accout && m.UserId == userId);
|
||||
return await this.Query(true).FirstOrDefaultAsync(m => m.Account == accout && m.UserId == userId && m.DeleteTag == 0);
|
||||
}
|
||||
|
||||
public async Task<List<ProductAccountEntity>> GetAccounts(string accouts,int userId=0)
|
||||
|
||||
Reference in New Issue
Block a user