Model 定义 type Model struct { ID uint `gorm:"primary_key"` ... 为自增类型 Address string `gorm:"index:addr"` // 给address字段创建名为addr的 ...
確定! 回上一頁