fix:订单调整

This commit is contained in:
momo 2023-11-03 17:09:05 +08:00
parent 17d35418da
commit 859a835d5b
2 changed files with 3 additions and 1 deletions

View File

@ -23,6 +23,8 @@ type FsPreprocessLogo struct {
Source *string `gorm:"index;default:'';" json:"source"` // Source *string `gorm:"index;default:'';" json:"source"` //
Ctime *time.Time `gorm:"default:'0000-00-00 00:00:00';" json:"ctime"` // Ctime *time.Time `gorm:"default:'0000-00-00 00:00:00';" json:"ctime"` //
Utime *time.Time `gorm:"default:'0000-00-00 00:00:00';" json:"utime"` // Utime *time.Time `gorm:"default:'0000-00-00 00:00:00';" json:"utime"` //
IsDel *int64 `gorm:"default:0;" json:"is_del"` // 是否删除
Dtime *time.Time `gorm:"default:'0000-00-00 00:00:00';" json:"dtime"` //
} }
type FsPreprocessLogoModel struct { type FsPreprocessLogoModel struct {
db *gorm.DB db *gorm.DB

View File

@ -11,7 +11,7 @@ type FsQrcode struct {
TagId *int64 `gorm:"index;default:0;" json:"tag_id"` // 用户id TagId *int64 `gorm:"index;default:0;" json:"tag_id"` // 用户id
ScanTimes *int64 `gorm:"default:0;" json:"scan_times"` // 扫码次数 ScanTimes *int64 `gorm:"default:0;" json:"scan_times"` // 扫码次数
CreateAt *int64 `gorm:"default:0;" json:"create_at"` // 添加时间 CreateAt *int64 `gorm:"default:0;" json:"create_at"` // 添加时间
Link *string `gorm:"index;default:'';" json:"link"` // 跳转链接 Link *string `gorm:"default:'';" json:"link"` //
SvgPath *string `gorm:"default:'';" json:"svg_path"` // svg地址 SvgPath *string `gorm:"default:'';" json:"svg_path"` // svg地址
Status *int64 `gorm:"default:1;" json:"status"` // 状态1:正常 0下架 Status *int64 `gorm:"default:1;" json:"status"` // 状态1:正常 0下架
ProductId *int64 `gorm:"default:0;" json:"product_id"` // 0 ProductId *int64 `gorm:"default:0;" json:"product_id"` // 0