1
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

This commit is contained in:
昔念
2026-02-01 00:39:36 +08:00
parent 836bafc6f9
commit 361b620148
2 changed files with 3 additions and 4 deletions

View File

@@ -51,8 +51,8 @@ func NewTowerService(towerType TowerType) *TowerService {
// UnifiedTowerModel 统一的塔模型,通过设置不同的表名来区分不同类型的塔
type UnifiedTowerModel struct {
*cool.Model `json:"-" gorm:"embedded"` // 嵌入通用Model
tableName string
*cool.Model
tableName string
}
// TableName 返回当前模型对应的表名