update: 新增api访问日志

This commit is contained in:
ctwj
2025-10-07 02:30:01 +08:00
parent 10294e093f
commit 51dbf0f03a
13 changed files with 929 additions and 8 deletions

View File

@@ -83,6 +83,9 @@ func InitDB() error {
&entity.TaskItem{},
&entity.File{},
&entity.TelegramChannel{},
&entity.APIAccessLog{},
&entity.APIAccessLogStats{},
&entity.APIAccessLogSummary{},
)
if err != nil {
utils.Fatal("数据库迁移失败: %v", err)