feat: tenant-scoped routing and portal navigation

This commit is contained in:
2026-01-08 21:30:46 +08:00
parent f3aa92078a
commit 3e095c57f3
52 changed files with 1111 additions and 670 deletions

View File

@@ -17,7 +17,7 @@ type Storage struct {
// Upload file
//
// @Router /v1/storage/* [put]
// @Router /t/:tenantCode/v1/storage/* [put]
// @Summary Upload file
// @Tags Storage
// @Accept octet-stream
@@ -58,7 +58,7 @@ func (s *Storage) Upload(ctx fiber.Ctx, expires, sign string) (string, error) {
// Download file
//
// @Router /v1/storage/* [get]
// @Router /t/:tenantCode/v1/storage/* [get]
// @Summary Download file
// @Tags Storage
// @Accept json