fix 修复问题
All checks were successful
Build image / build (push) Successful in 1m20s

This commit is contained in:
timerzz 2024-05-21 20:09:14 +08:00
parent c58fe1e4b7
commit 284c541306

View File

@ -14,8 +14,8 @@ type WatchInfo struct {
DeletedAt gorm.DeletedAt `gorm:"index"`
UpdateErr bool `json:"updateErr"` //更新出错了
Uid string `json:"uid" gorm:"index:,unique,not null"`
Pid string `json:"pid" gorm:"index:,not null"` //产品编号
Uid string `json:"uid" gorm:"index;unique;not null"`
Pid string `json:"pid" gorm:"index;not null"` //产品编号
Name string `json:"name"`
Brand string `json:"brand"`
Website WebsiteType `json:"website"` //是什么网站