This commit is contained in:
jianzhichu
2026-01-24 15:51:45 +08:00
parent 3f6b1874eb
commit e92e290a4e
10 changed files with 60 additions and 31 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ namespace dy.net.service
else
{
int update = await sqlSugarClient.Updateable(config).ExecuteCommandAsync();
int update = await sqlSugarClient.Updateable(config).IgnoreColumns(x => new { x.IsFirstRunning }).ExecuteCommandAsync();
return update > 0;
}
+6 -1
View File
@@ -18,9 +18,14 @@ namespace dy.net.service
public Task<List<DouyinCookie>> GetOpendCookiesAsync(Expression<Func<DouyinCookie, bool>> whereExpression = null)
{
return _cookieRepository.GetAllCookies(whereExpression);
return _cookieRepository.GetAllCookiesAsync(whereExpression);
}
public List<DouyinCookie> GetOpendCookies()
{
return _cookieRepository.GetAllCookies();
}
public Task<List<DouyinCookie>> GetAllAsync()
{
return _cookieRepository.GetAllAsync();