refactor: 移除业务ID字段并优化DAO层实现
This commit is contained in:
@@ -22,10 +22,3 @@ type UploadFileRes struct {
|
||||
FileURL string `json:"fileURL" dc:"上传地址"`
|
||||
FileAddressPrefix string `json:"fileAddressPrefix"`
|
||||
}
|
||||
|
||||
type TenantOssTotal struct {
|
||||
TenantId uint64 `json:"tenantId"`
|
||||
UsedOssSize int `json:"usedOssSize"`
|
||||
TotalOssSize int `json:"totalOssSize"`
|
||||
Updater string `json:"updater"`
|
||||
}
|
||||
|
||||
@@ -24,9 +24,6 @@ type UpdateUsedOssReq struct {
|
||||
TenantId uint64 `json:"tenantId" v:"required#租户id不能为空"`
|
||||
UsedOssSize int `json:"usedOssSize"`
|
||||
TotalOssSize int `json:"totalOssSize"`
|
||||
Updater string `json:"updater" v:"required#更新人不能为空"`
|
||||
}
|
||||
|
||||
// UpdateUsedOssRes 更新使用存储总量响应
|
||||
type UpdateUsedOssRes struct {
|
||||
Creator string `json:"creator"`
|
||||
Updater string `json:"updater"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user