# MessageTaskLogService
> 消息发送任务日志

---

## countMessageTaskLogs
> 计算日志数量

- 角色：`admin`
- HTTP：`POST https://backend.dooki.cloud/MessageTaskLogService/countMessageTaskLogs`
- RPC：`rpc countMessageTaskLogs (CountMessageTaskLogsRequest) returns (RPCCountResponse);`

**请求对象 (`CountMessageTaskLogsRequest`)**

```json
{}
```

**响应对象 (`RPCCountResponse`)**

```json
{
  "count": "int64 // 数量"
}
```

**调用示例**

```bash
curl -X POST "https://backend.dooki.cloud/MessageTaskLogService/countMessageTaskLogs" \
  -H "Content-Type: application/json" \
  -H "X-Edge-Access-Token: <YOUR_TOKEN>" \
  -d '{
    ...
  }'
```

---

## listMessageTaskLogs
> 列出当页日志

- 角色：`admin`
- HTTP：`POST https://backend.dooki.cloud/MessageTaskLogService/listMessageTaskLogs`
- RPC：`rpc listMessageTaskLogs (ListMessageTaskLogsRequest) returns (ListMessageTaskLogsResponse);`

**请求对象 (`ListMessageTaskLogsRequest`)**

```json
{
  "offset": "int64 // 读取位置",
  "size": "int64 // 数量，通常不能小于0"
}
```

**响应对象 (`ListMessageTaskLogsResponse`)**

```json
{
  "messageTaskLogs": "[]MessageTaskLog"
}
```

**调用示例**

```bash
curl -X POST "https://backend.dooki.cloud/MessageTaskLogService/listMessageTaskLogs" \
  -H "Content-Type: application/json" \
  -H "X-Edge-Access-Token: <YOUR_TOKEN>" \
  -d '{
    ...
  }'
```

---
