Files
pyGoEdge-UserPanel/reference/goedge 文档/LatestItemService.md
2025-11-18 03:36:49 +08:00

40 lines
672 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# LatestItemService
> 最近使用的条目服务
---
## increaseLatestItem
> 记录最近使用的条目
- 角色:`admin`
- HTTP`POST https://backend.dooki.cloud/LatestItemService/increaseLatestItem`
- RPC`rpc increaseLatestItem (IncreaseLatestItemRequest) returns (RPCSuccess);`
**请求对象 (`IncreaseLatestItemRequest`)**
```json
{
"itemType": "string",
"itemId": "int64"
}
```
**响应对象 (`RPCSuccess`)**
```json
{}
```
**调用示例**
```bash
curl -X POST "https://backend.dooki.cloud/LatestItemService/increaseLatestItem" \
-H "Content-Type: application/json" \
-H "X-Edge-Access-Token: <YOUR_TOKEN>" \
-d '{
...
}'
```
---