From eea2e8777f033a11648f7b597e5340e00cbac01d Mon Sep 17 00:00:00 2001 From: xinian Date: Mon, 23 Feb 2026 15:06:45 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=96=E8=BE=91=E6=96=87=E4=BB=B6=20tower=5F?= =?UTF-8?q?110.go?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/config/model/tower_110.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/config/model/tower_110.go b/modules/config/model/tower_110.go index 504e5d8b..dc7bb9b3 100644 --- a/modules/config/model/tower_110.go +++ b/modules/config/model/tower_110.go @@ -18,7 +18,7 @@ type BaseTowerConfig struct { // 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:json;default:'[]';comment:'绑定BOSS ID数组,关联config_pet_boss表主键'" json:"boss_ids" description:"绑定BOSS数组"` + BossIds []uint32 `gorm:"not null;type:jsonb;default:'[]';comment:'绑定BOSS ID数组,关联config_pet_boss表主键'" json:"boss_ids" description:"绑定BOSS数组"` } // NewBaseTowerConfig 创建基础塔配置实例(所有塔类型共用)