This commit is contained in:
parent
c58fe1e4b7
commit
284c541306
@ -14,8 +14,8 @@ type WatchInfo struct {
|
|||||||
DeletedAt gorm.DeletedAt `gorm:"index"`
|
DeletedAt gorm.DeletedAt `gorm:"index"`
|
||||||
UpdateErr bool `json:"updateErr"` //更新出错了
|
UpdateErr bool `json:"updateErr"` //更新出错了
|
||||||
|
|
||||||
Uid string `json:"uid" gorm:"index:,unique,not null"`
|
Uid string `json:"uid" gorm:"index;unique;not null"`
|
||||||
Pid string `json:"pid" gorm:"index:,not null"` //产品编号
|
Pid string `json:"pid" gorm:"index;not null"` //产品编号
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
Brand string `json:"brand"`
|
Brand string `json:"brand"`
|
||||||
Website WebsiteType `json:"website"` //是什么网站
|
Website WebsiteType `json:"website"` //是什么网站
|
||||||
|
Loading…
Reference in New Issue
Block a user