This commit is contained in:
2023-04-28 06:40:35 +08:00
parent 8ae72dd983
commit 1c08718840
2 changed files with 11 additions and 2 deletions

View File

@@ -45,6 +45,15 @@ WS | /api/{name}/{item_id} | Websocket 連接對象
對象模型:
```go
type ListView struct {
Code int `json:"code"`
Page int `json:"page"`
PageSize int `json:"page_size"`
Total int `json:"total"`
Next bool `json:"next"`
List []interface{} `json:"list"`
}
type Model struct {
ID int `json:"id"`
Name string `json:"name"`