Initial commit

This commit is contained in:
2025-11-18 03:36:49 +08:00
commit d17c7efb3c
7078 changed files with 831480 additions and 0 deletions

View File

@@ -0,0 +1,82 @@
# UserAccountLogService
> 用户账户日志服务
---
## countUserAccountLogs
> 计算日志数量
- 角色:`admin`, `user`
- HTTP`POST https://backend.dooki.cloud/UserAccountLogService/countUserAccountLogs`
- RPC`rpc countUserAccountLogs(CountUserAccountLogsRequest) returns (RPCCountResponse);`
**请求对象 (`CountUserAccountLogsRequest`)**
```json
{
"userAccountId": "int64",
"keyword": "string // 关键词",
"eventType": "string"
}
```
**响应对象 (`RPCCountResponse`)**
```json
{
"count": "int64 // 数量"
}
```
**调用示例**
```bash
curl -X POST "https://backend.dooki.cloud/UserAccountLogService/countUserAccountLogs" \
-H "Content-Type: application/json" \
-H "X-Edge-Access-Token: <YOUR_TOKEN>" \
-d '{
...
}'
```
---
## listUserAccountLogs
> 列出单页日志
- 角色:`admin`, `user`
- HTTP`POST https://backend.dooki.cloud/UserAccountLogService/listUserAccountLogs`
- RPC`rpc listUserAccountLogs(ListUserAccountLogsRequest) returns (ListUserAccountLogsResponse);`
**请求对象 (`ListUserAccountLogsRequest`)**
```json
{
"userAccountId": "int64",
"keyword": "string // 关键词",
"eventType": "string",
"offset": "int64 // 读取位置",
"size": "int64 // 数量通常不能小于0"
}
```
**响应对象 (`ListUserAccountLogsResponse`)**
```json
{
"userAccountLogs": "[]UserAccountLog"
}
```
**调用示例**
```bash
curl -X POST "https://backend.dooki.cloud/UserAccountLogService/listUserAccountLogs" \
-H "Content-Type: application/json" \
-H "X-Edge-Access-Token: <YOUR_TOKEN>" \
-d '{
...
}'
```
---