GET /admin/compliance/legal-documents/{legal_document_id}
根据 ID 获取单个协议文档(管理端可见任意状态)。租户隔离:仅返回当前认证租户的文档(P0-3)。
合规管理 - 协议文档 `bearerAuth` application/json
请求参数
| 名称 | 位置 | 类型 | 必填 | 默认值 | 示例 | 约束 | 描述 |
legal_document_id |
path |
string |
是 |
|
|
|
legal document ID |
引用的 Schema
service-compliance/internal/handler/dto.ErrorResponse
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
code |
integer |
否 |
400 |
|
|
message |
string |
否 |
invalid request |
|
|
service-compliance/internal/handler/dto.LegalDocumentItem
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
content |
string |
否 |
[{"title":"1. 引言","body":"..."}] |
|
|
doc_type |
string |
否 |
terms |
|
|
effective_at |
string |
否 |
2026-06-09T00:00:00Z |
|
|
id |
string |
否 |
01JQ... |
|
|
lang |
string |
否 |
zh-CN |
|
|
status |
string |
否 |
published |
|
|
tenant_id |
string |
否 |
|
|
|
title |
string |
否 |
服务条款 |
|
|
version |
string |
否 |
v1 |
|
|
service-compliance/internal/handler/dto.LegalDocumentItemResponse