From f1c162d10f688913ee35d256d48f853f3d693028 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=94=E5=BF=B5?= <12574910+72wo@users.noreply.github.com> Date: Tue, 24 Feb 2026 13:09:09 +0800 Subject: [PATCH] =?UTF-8?q?```=20refactor(config):=20=E7=A7=BB=E9=99=A4Map?= =?UTF-8?q?Pit=E7=BB=93=E6=9E=84=E4=BD=93=E4=B8=AD=E7=9A=84PitName?= =?UTF-8?q?=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 移除了MapPit结构体中未使用的PitName字段,该字段包含坑位名称相关信息, 以简化数据模型结构。 ``` --- modules/config/model/map_pit.go | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/config/model/map_pit.go b/modules/config/model/map_pit.go index 1f5cbe35..c1310b05 100644 --- a/modules/config/model/map_pit.go +++ b/modules/config/model/map_pit.go @@ -26,7 +26,6 @@ type MapPit struct { Remark string `gorm:"type:varchar(255);default:'';comment:'性别配置备注(如:默认性别规则)'" json:"remark"` // 调整注释 // 复用通用基础配置(ID/创建时间/更新时间等) MapID []int32 `gorm:"type:int[];comment:'绑定地图地图ID'" json:"map_id"` *Event - PitName string `gorm:"type:varchar(100);default:'';comment:'坑位名称'" json:"pit_name"` RefreshID []int `gorm:"type:int[];comment:'精灵ID列表'" json:"refresh_id"` //最小等级