feat: align ids to int64

This commit is contained in:
2026-01-08 09:57:04 +08:00
parent a1de16bc01
commit d98f41f1ac
39 changed files with 298 additions and 339 deletions

View File

@@ -45,7 +45,7 @@ func (c *tenants) Create(ctx fiber.Ctx, form *dto.TenantCreateForm) error {
// Get tenant
//
// @Router /super/v1/tenants/:id [get]
// @Router /super/v1/tenants/:id<int> [get]
// @Summary Get tenant
// @Description Get tenant
// @Tags Tenant
@@ -60,7 +60,7 @@ func (c *tenants) Get(ctx fiber.Ctx, id int64) (*dto.TenantItem, error) {
// Update tenant status
//
// @Router /super/v1/tenants/:id/status [patch]
// @Router /super/v1/tenants/:id<int>/status [patch]
// @Summary Update tenant status
// @Description Update tenant status
// @Tags Tenant
@@ -77,7 +77,7 @@ func (c *tenants) UpdateStatus(ctx fiber.Ctx, id int64, form *dto.TenantStatusUp
// Update tenant expire
//
// @Router /super/v1/tenants/:id [patch]
// @Router /super/v1/tenants/:id<int> [patch]
// @Summary Update tenant expire
// @Description Update tenant expire
// @Tags Tenant