feat: 植物识别百科ai助手迁移

This commit is contained in:
Blizzard
2026-05-24 01:41:22 +08:00
parent ae6d03d351
commit 076ed1509b
29 changed files with 1121 additions and 372 deletions
+2 -1
View File
@@ -40,7 +40,6 @@ func NewServiceContext(c config.Config) *ServiceContext {
&plantModel.PostLike{},
&plantModel.PostOss{},
&plantModel.Topic{},
&plantModel.OcrLog{},
&plantModel.MediaCheckResult{},
&plantModel.ExchangeItem{},
&plantModel.ExchangeOrder{},
@@ -50,6 +49,8 @@ func NewServiceContext(c config.Config) *ServiceContext {
&plantModel.AiChatHistory{},
&plantModel.GrowthRecordOss{},
&plantModel.Banner{},
&plantModel.SysAiConfig{},
&plantModel.ClassifyRecord{},
); err != nil {
logx.Errorf("数据库迁移失败: %v", err)
}