feat: 更新存储策略相关逻辑,使用 UUID 替代 int 类型,优化响应模型
This commit is contained in:
@@ -75,7 +75,7 @@ async def router_directory_get(
|
||||
]
|
||||
|
||||
policy_response = PolicyResponse(
|
||||
id=str(policy.id),
|
||||
id=policy.id,
|
||||
name=policy.name,
|
||||
type=policy.type.value,
|
||||
max_size=policy.max_size,
|
||||
|
||||
Reference in New Issue
Block a user