feat: 百科分类api

This commit is contained in:
Blizzard
2026-02-07 16:42:43 +08:00
parent 9adad90490
commit 15a25555c4
16 changed files with 379 additions and 12 deletions
+13
View File
@@ -0,0 +1,13 @@
package plant
import (
"sundynix-go/global"
"sundynix-go/model/system"
)
type WikiClass struct {
global.BaseModel
Name string `json:"name" form:"name" gorm:"column:name;comment:名称"`
OssId string `json:"ossId" form:"ossId" gorm:"column:oss_id;comment:图片id"`
Oss *system.Oss `gorm:"foreignKey:OssId" json:"oss"`
}