文件存储-增加文件上传记录接口,增加定时同步租户文件存储容量信息接口

This commit is contained in:
2025-12-26 13:59:02 +08:00
parent 5693dd4952
commit 36c9b61db0
14 changed files with 518 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
package dto
import (
"github.com/gogf/gf/v2/frame/g"
"oss/model/entity"
)
// GetByTenantIdReq 根据租户id获取存储总量请求
type GetByTenantIdReq struct {
g.Meta `path:"/GetOneByTenantId" method:"get" tags:"租户存储总量管理" summary:"获取存储总量" dc:"获取存储总量"`
TenantId string `json:"tenantId" v:"required#租户id不能为空"`
}
// GetByTenantIdRes 根据租户id获取存储总量响应
type GetByTenantIdRes struct {
*entity.TenantOssTotal
}