From 98bf5483c932af9abb2cca26ca72b8016ba09417 Mon Sep 17 00:00:00 2001 From: yuyuanshifu <747342561@qq.com> Date: Tue, 23 Mar 2021 10:10:36 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=82=E9=85=8D=E4=BA=91=E8=84=91=E9=95=9C?= =?UTF-8?q?=E5=83=8F=E5=88=97=E8=A1=A8=E6=8E=A5=E5=8F=A3=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/cloudbrain/resty.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/cloudbrain/resty.go b/modules/cloudbrain/resty.go index bee9967ec..66d8d52bc 100755 --- a/modules/cloudbrain/resty.go +++ b/modules/cloudbrain/resty.go @@ -130,6 +130,7 @@ sendjob: res, err := client.R(). SetHeader("Content-Type", "application/json"). SetAuthToken(TOKEN). + SetBody(map[string]interface{}{"pageIndex": 1, "pageSize": 100}). SetResult(&getImagesResult). Get(HOST + "/rest-server/api/v1/image/list/") @@ -161,7 +162,7 @@ sendjob: res, err := client.R(). SetHeader("Content-Type", "application/json"). SetAuthToken(TOKEN). - SetBody(map[string]interface{}{"pageIndex": 1, "pageSize": 50}). + SetBody(map[string]interface{}{"pageIndex": 1, "pageSize": 100}). SetResult(&getImagesResult). Get(HOST + "/rest-server/api/v1/image/public/list/")