package model import "gorm.io/gorm" type Api struct { gorm.Model Method string `gorm:"type:varchar(20);comment:'请求方式'" json:"method"` Path string `gorm:"type:varchar(100);comment:'访问路径'" json:"path"` Category string `gorm:"type:varchar(50);comment:'所属类别'" json:"category"` Remark string `gorm:"type:varchar(100);comment:'备注'" json:"remark"` Creator string `gorm:"type:varchar(20);comment:'创建人'" json:"creator"` }