add: 添加任务相关代码

This commit is contained in:
ctwj
2025-08-09 17:27:26 +08:00
parent 7032235923
commit 76eb9c689b
10 changed files with 536 additions and 49 deletions

View File

@@ -79,6 +79,8 @@ func InitDB() error {
&entity.SystemConfig{},
&entity.HotDrama{},
&entity.ResourceView{},
&entity.Task{},
&entity.TaskItem{},
)
if err != nil {
utils.Fatal("数据库迁移失败: %v", err)