<@cms_comment>
Obtain a list of comment data, with the ` data included within it.<#list DataList as comment>${comment.name}</#list>Traverse data
| Attribute | Type | Required | Available values | Description | Default |
|---|---|---|---|---|---|
| page | BOOLEAN | No | true = Yes false = No | Do we need to paginate the data for retrieval? | false |
| size | INTEGER | No | Pagination: Number of data entries, default: 10 | ||
| condition | STRING | No | Extend SQL conditional statements, for example: title like 'a%' | ||
| uid | INTEGER | Yes | User ID | ||
| type | STRING | No | Source Type | cms_content |
| Attribute | Description | Type |
|---|---|---|
| auditStatus | Comment Review Status | Integer |
| clientType | Client Type | String |
| commentId | Comment ID | Long |
| commentTime | Comment submission time | LocalDateTime |
| content | Comment content | String |
| delFlag | Delete flag | Integer |
| ip | User IP | String |
| likeCount | Number of likes | Integer |
| location | User's Location | String |
| parentId | Parent Comment ID | Long |
| replyCount | Number of replies | int |
| replyList | Reply list | List<com.chestnut.comment.domain.Comment> |
| replyUid | Replied User ID | Long |
| sourceId | Unique identifier for the source | String |
| sourceTitle | Source Title | String |
| sourceType | Source Category | String |
| sourceUrl | Source URL | String |
| uid | Comment User ID | Long |
| userAgent | UserAgent | String |