A:增加“资料库”;增加模型注入
This commit is contained in:
1 parent
b8dc199cff
commit
592b01a89b
10 files changed
+250
-68
No files matched your search
@@ -0,0 +1,9 @@
|
||||
package model
|
||||
|
||||
type LibraryTable struct {
|
||||
BaseModel
|
||||
// 照片存储库路径
|
||||
ImgPath string `gorm:"not null;size:255" json:"imgPath"`
|
||||
// 是否开启
|
||||
IsEnable bool `gorm:"default:false;" json:"isEnable"`
|
||||
}
|
||||
Reference in new issue
Block a user