refactor🎨: 缩减函数名称
This commit is contained in:
1 parent
6e01c13e1c
commit
190dcfedc0
12 files changed
+164
-353
No files matched your search
@@ -6,13 +6,13 @@ import (
|
||||
|
||||
type SysContent struct {
|
||||
models.Model
|
||||
CateId int `json:"cateId" gorm:"type:int(11);comment:分类id"`
|
||||
Name string `json:"name" gorm:"type:varchar(255);comment:名称"`
|
||||
Status int `json:"status" gorm:"type:int(1);comment:状态"`
|
||||
Img string `json:"img" gorm:"type:varchar(255);comment:图片"`
|
||||
CateId int `json:"cateId" gorm:"size:11;comment:分类id"`
|
||||
Name string `json:"name" gorm:"size:255;comment:名称"`
|
||||
Status int `json:"status" gorm:"size:1;comment:状态"`
|
||||
Img string `json:"img" gorm:"size:255;comment:图片"`
|
||||
Content string `json:"content" gorm:"type:text;comment:内容"`
|
||||
Remark string `json:"remark" gorm:"type:varchar(255);comment:备注"`
|
||||
Sort int `json:"sort" gorm:"type:int(4);comment:排序"`
|
||||
Remark string `json:"remark" gorm:"size:255;comment:备注"`
|
||||
Sort int `json:"sort" gorm:"size:4;comment:排序"`
|
||||
models.ControlBy
|
||||
models.ModelTime
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user