修复配置项不生效bug

This commit is contained in:
jianzhichu
2025-11-24 08:17:41 +08:00
parent 116aa0c3e0
commit 609649057f
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -73,6 +73,10 @@ namespace dy.net.service
{
cc.Cron = config.Cron;
cc.BatchCount = config.BatchCount;
cc.DownImageVideo = config.DownImageVideo;
cc.UperSaveTogether = config.UperSaveTogether;
cc.UperUseViedoTitle = config.UperUseViedoTitle;
cc.LogKeepDay = config.LogKeepDay;
}
var update = await sqlSugarClient.Updateable<AppConfig>(cc).ExecuteCommandAsync();