From 433070241cccee1fc029dff55c1b3dba14b64358 Mon Sep 17 00:00:00 2001 From: liuwenping Date: Tue, 27 Sep 2022 17:44:17 +0800 Subject: [PATCH] =?UTF-8?q?bugfix:=20=E6=B8=85=E6=B4=97=E6=A8=A1=E6=9D=BF?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/log_databus/serializers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/log_databus/serializers.py b/apps/log_databus/serializers.py index 8247e4e5f..e27177dbf 100644 --- a/apps/log_databus/serializers.py +++ b/apps/log_databus/serializers.py @@ -841,8 +841,8 @@ class CleanTemplateListFilterSerializer(serializers.Serializer): bk_biz_id = serializers.IntegerField(label=_("业务id"), required=True) keyword = serializers.CharField(label=_("检索关键词"), required=False) clean_type = serializers.CharField(label=_("模板类型"), required=False) - page = serializers.IntegerField(label=_("页码")) - pagesize = serializers.IntegerField(label=_("页面大小")) + page = serializers.IntegerField(label=_("页码"), default=1) + pagesize = serializers.IntegerField(label=_("页面大小"), default=10) def validate(self, attrs): super().validate(attrs)