- User
- Category
- Comment
- Collection
- Articles
- Likes
Comment Get All
POST
/commentArticle/all
责任人:Chen Yang
请求参数
无
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/commentArticle/all'
返回响应
🟢200Success
application/json
Body
code
integer
必需
data
array [object {15}]
必需
id
integer
必需
name
string
必需
content
string | null
必需
desc
string
必需
userId
integer
必需
avatar
string | null
必需
categoryId
integer | null
必需
type
null | string
必需
imgs
null | string
必需
frameID
string | null
必需
createdAt
string
必需
updatedAt
string
必需
deletedAt
null
必需
category
object
必需
user
object
必需
示例
{
"code": 0,
"data": [
{
"id": 0,
"name": "string",
"content": "string",
"desc": "string",
"userId": 0,
"avatar": "string",
"categoryId": 0,
"type": null,
"imgs": null,
"frameID": "string",
"createdAt": "string",
"updatedAt": "string",
"deletedAt": null,
"category": {
"id": 0,
"name": "string",
"date": "string",
"createdAt": "string",
"updatedAt": "string",
"deletedAt": null
},
"user": {
"id": 0,
"name": "string",
"username": "string",
"password": "string",
"avatar": "string",
"desc": "string",
"roleId": 0,
"weight": 0,
"age": 0,
"createdAt": "string",
"updatedAt": "string",
"deletedAt": null,
"role": {
"id": 0,
"name": "string",
"desc": "string",
"createdAt": "string",
"updatedAt": "string",
"deletedAt": null
}
}
}
]
}
🔴500Failed