支持客服主动发起申诉
This commit is contained in:
@@ -10,6 +10,8 @@ type Dispute struct {
|
||||
ID uint64 `gorm:"primaryKey" json:"id"`
|
||||
OrderID uint64 `gorm:"not null;index" json:"order_id"`
|
||||
InitiatorID uint64 `gorm:"not null" json:"initiator_id"`
|
||||
InitiatorType string `gorm:"size:16;not null;default:'user';index" json:"initiator_type"`
|
||||
InitiatorAdminID *uint64 `gorm:"index" json:"initiator_admin_id"`
|
||||
TargetUserID uint64 `gorm:"not null" json:"target_user_id"`
|
||||
Type string `gorm:"size:32;not null" json:"type"`
|
||||
Status string `gorm:"size:32;not null;default:'open'" json:"status"`
|
||||
|
||||
Reference in New Issue
Block a user