feat(server-go): 蚕匾/批次/饲养记录 CRUD 与权限(#7)

This commit is contained in:
weijuesen
2026-08-12 17:14:02 +08:00
parent f9d9202856
commit 362a70b8a8
5 changed files with 327 additions and 0 deletions
+1
View File
@@ -29,6 +29,7 @@ func Init(cfg *config.Config) error {
&model.Permission{}, &model.RolePermission{},
&model.Disease{}, &model.KnowledgeArticle{},
&model.InspectionRecord{},
&model.Tray{}, &model.Batch{}, &model.RearingRecord{},
); err != nil {
slog.Warn("自动迁移有警告(可忽略)", "err", err)
}