models/model.go
@@ -2,6 +2,7 @@ import ( "fmt" "model-engine/db" ) @@ -12,7 +13,8 @@ } var modelRegistry = map[string]func() Model{ "gather": func() Model { return &GatherModel{} }, "gather": func() Model { return &GatherModel{} }, "disappear": func() Model { return &DisappearModel{} }, // 添加其他模型 }