添加消息队列消费者并优化租户存储总量更新逻辑
This commit is contained in:
@@ -15,3 +15,17 @@ type GetByTenantIdReq struct {
|
||||
type GetByTenantIdRes struct {
|
||||
*entity.TenantOssTotal
|
||||
}
|
||||
|
||||
// UpdateUsedOssReq 更新使用存储总量请求
|
||||
type UpdateUsedOssReq struct {
|
||||
g.Meta `path:"/GetOneByTenantId" method:"get" tags:"租户存储总量管理" summary:"更新使用存储总量" dc:"更新使用存储总量"`
|
||||
|
||||
TenantId interface{} `json:"tenantId" v:"required#租户id不能为空"`
|
||||
UsedOssSize int `bson:"usedOssSize" json:"usedOssSize"`
|
||||
TotalOssSize int `bson:"totalOssSize" json:"totalOssSize"`
|
||||
Updater interface{} `json:"updater" v:"required#更新人不能为空"`
|
||||
}
|
||||
|
||||
// UpdateUsedOssRes 更新使用存储总量响应
|
||||
type UpdateUsedOssRes struct {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user