feat: 订单自动过期-查看时检查并取消超时订单,收银台倒计时结束自动取消
This commit is contained in:
@@ -25,6 +25,7 @@ type Order struct {
|
||||
ExpressPhoto string `gorm:"type:text" json:"express_photo"`
|
||||
CustomsPhoto string `gorm:"type:text" json:"customs_photo"`
|
||||
PaymentMethod string `gorm:"size:50" json:"payment_method"`
|
||||
PaymentExpiresAt *time.Time `json:"payment_expires_at,omitempty"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
UpdatedAt time.Time `json:"updated_at"`
|
||||
DeletedAt gorm.DeletedAt `gorm:"index" json:"-"`
|
||||
|
||||
Reference in New Issue
Block a user