feat: 接入旧站管理端并完整迁移后台能力

This commit is contained in:
yml
2026-11-12 22:03:01 +08:00
parent e5f923706b
commit a4441bba9a
509 changed files with 140714 additions and 1068 deletions
@@ -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