# Function description
Count the number of people online within a certain time range
# Request
POST /user/onlineCount HTTPS
Host: <host>
Content-Type: application/json
Authorization: <AuthString>
# Request Headers
Name | Description | Type | Mandatory |
---|---|---|---|
Authorization | User token information | string | true |
# Request Body
The request body is a json string, for example:
{
"start": "2021-06-22 14:20:03",
"end": "2021-06-22 14:20:03"
}
Name | Type | Description | Mandatory |
---|---|---|---|
start | string | query start time | false |
end | string | query end time | false |
# Response
# Response Header
No special response header
# Response Body
{
"code": 0,
"message": "success",
"data": 5
}