feat: tenant-scoped routing and portal navigation
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user