feat: 接入旧站管理端并完整迁移后台能力
This commit is contained in:
@@ -61,6 +61,9 @@ func (r *Repository) TransferOwner(ctx context.Context, adminID uint64, listingI
|
||||
}
|
||||
return err
|
||||
}
|
||||
if listing.IsPremium && target.QualityOwnerStatus != "active" {
|
||||
return ErrPremiumOwnerRequired
|
||||
}
|
||||
|
||||
beforeOwnerID := listing.OwnerID
|
||||
listing.OwnerID = target.ID
|
||||
|
||||
Reference in New Issue
Block a user