From 2acbbda7b7a4292e59c9c68bf81713307b79d886 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A7=89?= Date: Mon, 13 Nov 2023 22:57:58 +0800 Subject: [PATCH] Fix JSON field naming inconsistency in ListView struct. --- bin/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/main.go b/bin/main.go index 33438d5..fb3fd94 100644 --- a/bin/main.go +++ b/bin/main.go @@ -100,7 +100,7 @@ type History struct { type ListView struct { Code int `json:"code"` Page int `json:"page"` - PageSize int `json:"page_size"` + PageSize int `json:"pageSize"` Total int `json:"total"` Next bool `json:"next"` List []interface{} `json:"list"`