fix
This commit is contained in:
@@ -19,10 +19,10 @@ type apiPO struct {
|
||||
CreatedAt time.Time
|
||||
UpdatedAt time.Time
|
||||
DeletedAt gorm.DeletedAt `gorm:"index"`
|
||||
Path string `gorm:"uniqueIndex:idx_api_path_method"`
|
||||
Path string
|
||||
Description string
|
||||
APIGroup string `gorm:"column:api_group"`
|
||||
Method string `gorm:"uniqueIndex:idx_api_path_method"`
|
||||
Method string
|
||||
}
|
||||
|
||||
func (apiPO) TableName() string { return "sys_apis" }
|
||||
|
||||
Reference in New Issue
Block a user