fix🐛 :修复内容模块问题(#357)

This commit is contained in:
wenjianzhang committed 2021-03-26 13:42:12 +08:00
1 parent 9023b620fb
commit 91c9a2c7f9
4 files changed
+25 -132

No files matched your search

+3 -3
View File
@@ -8,8 +8,8 @@ type SysCategory struct {
models.Model
Name string `json:"name" gorm:"type:varchar(255);comment:名称"` //
Img string `json:"img" gorm:"type:varchar(255);comment:图标"` //
Sort string `json:"sort" gorm:"type:int(4);comment:排序"` //
Status string `json:"status" gorm:"type:int(1);comment:状态"` //
Sort int `json:"sort" gorm:"type:int(4);comment:排序"` //
Status int `json:"status" gorm:"type:int(1);comment:状态"` //
Remark string `json:"remark" gorm:"type:varchar(255);comment:备注"` //
models.ControlBy
models.ModelTime
@@ -26,4 +26,4 @@ func (e *SysCategory) Generate() models.ActiveRecord {
func (e *SysCategory) GetId() interface{} {
return e.Id
}
}