diff --git a/modules/config/model/tower_110.go b/modules/config/model/tower_110.go index dc7bb9b32..9509eb4fe 100644 --- a/modules/config/model/tower_110.go +++ b/modules/config/model/tower_110.go @@ -14,9 +14,7 @@ const ( // -------------------------- 核心基类:所有塔配置的通用结构 -------------------------- type BaseTowerConfig struct { *BaseConfig - Name string `gorm:"size:32;default:'';comment:'塔层名称'" json:"name" description:"塔层名称"` - // ItemGift []ItemGift `orm:"with:item_id=id"` - // 核心必填字段(所有塔类型通用) + TowerLevel uint32 `gorm:"not null;default:0;uniqueIndex;comment:'塔层数(唯一标识每层配置)'" json:"tower_level" description:"塔层数"` BossIds []uint32 `gorm:"not null;type:jsonb;default:'[]';comment:'绑定BOSS ID数组,关联config_pet_boss表主键'" json:"boss_ids" description:"绑定BOSS数组"` }