双月卡活动
This commit is contained in:
@@ -51,6 +51,17 @@ namespace Hncore.Pass.Vpn.Service
|
||||
|
||||
return false;
|
||||
}
|
||||
//检查参加活动账号是否已经存在
|
||||
public async Task<bool> CheckMonthAccountExist(string account)
|
||||
{
|
||||
var flag = this.Exist(m => m.Account == account && m.PackageId == 86);
|
||||
if (flag)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
public bool CheckUserAccountExist(int product, List<string> accouts, int userId)
|
||||
{
|
||||
return this.Exist(m => accouts.Contains(m.Account) && m.UserId == userId);
|
||||
|
||||
Reference in New Issue
Block a user