feat: tenant management api paths

This commit is contained in:
2025-12-25 14:55:02 +08:00
parent 20f9b3cf1f
commit 4bf23e1f4a
12 changed files with 4651 additions and 4651 deletions

View File

@@ -28,7 +28,7 @@ type tenantInviteAdmin struct{}
// @Param form body dto.AdminTenantInviteCreateForm true "Form"
// @Success 200 {object} models.TenantInvite
//
// @Router /t/:tenantCode/v1/admin/invites [post]
// @Router /t/:tenantCode/v1/management/invites [post]
// @Bind tenant local key(tenant)
// @Bind tenantUser local key(tenant_user)
// @Bind form body
@@ -63,7 +63,7 @@ func (*tenantInviteAdmin) adminCreateInvite(
// @Param filter query dto.AdminTenantInviteListFilter true "Filter"
// @Success 200 {object} requests.Pager{items=models.TenantInvite}
//
// @Router /t/:tenantCode/v1/admin/invites [get]
// @Router /t/:tenantCode/v1/management/invites [get]
// @Bind tenant local key(tenant)
// @Bind tenantUser local key(tenant_user)
// @Bind filter query
@@ -101,7 +101,7 @@ func (*tenantInviteAdmin) adminInviteList(
// @Param form body dto.AdminTenantInviteDisableForm true "Form"
// @Success 200 {object} models.TenantInvite
//
// @Router /t/:tenantCode/v1/admin/invites/:inviteID/disable [patch]
// @Router /t/:tenantCode/v1/management/invites/:inviteID/disable [patch]
// @Bind tenant local key(tenant)
// @Bind tenantUser local key(tenant_user)
// @Bind inviteID path