关联实际触发器对象的代码清理

This commit is contained in:
辉鸭蛋
2025-10-02 16:00:35 +08:00
parent d6bfa5f736
commit ef66e2ff75
6 changed files with 31 additions and 78 deletions

View File

@@ -8,6 +8,7 @@ using System.IO;
using System.Linq;
using System.Threading.Tasks;
using BetterGenshinImpact.Core.Config;
using BetterGenshinImpact.Service.GearTask.Model;
namespace BetterGenshinImpact.Service;
@@ -23,7 +24,7 @@ public class GearTaskStorageService
public GearTaskStorageService(ILogger<GearTaskStorageService> logger)
{
_logger = logger;
_taskStoragePath = Path.Combine(Global.Absolute("User"), "task_v2", "list");
_taskStoragePath = GearTaskPaths.TaskListPath;
// 确保目录存在
Directory.CreateDirectory(_taskStoragePath);