初始化2

This commit is contained in:
2026-07-10 17:33:33 +08:00
parent b51ee98afa
commit 94f6ecf901
59 changed files with 3893 additions and 980 deletions

View File

@@ -107,12 +107,14 @@ type StorageAssignRequest struct {
// UserStorageInfoVO 用户存储信息
type UserStorageInfoVO struct {
PolicyID uint64 `json:"policy_id"`
PolicyName string `json:"policy_name"`
PolicyType string `json:"policy_type"`
StorageQuota int64 `json:"storage_quota"`
UsedStorage int64 `json:"used_storage"`
UsedPercent float64 `json:"used_percent"`
PolicyID uint64 `json:"policy_id"`
PolicyName string `json:"policy_name"`
PolicyType string `json:"policy_type"`
StorageQuota int64 `json:"storage_quota"`
UsedStorage int64 `json:"used_storage"`
UsedPercent float64 `json:"used_percent"`
MaxFileSize int64 `json:"max_file_size"` // 单文件大小上限(字节)
ChunkThreshold int64 `json:"chunk_threshold"` // 分片上传阈值(字节)
}
// ========== 开放平台 ==========