From f02cf6fca2cb8b63b21007b74d5b299c6bf1c9fc Mon Sep 17 00:00:00 2001 From: laodaming <11058467+laudamine@user.noreply.gitee.com> Date: Mon, 30 Oct 2023 16:19:14 +0800 Subject: [PATCH] fix --- .../internal/logic/getproducttemplatetagslogic.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/server/product-template-tag/internal/logic/getproducttemplatetagslogic.go b/server/product-template-tag/internal/logic/getproducttemplatetagslogic.go index 326bdfb9..3f41e825 100644 --- a/server/product-template-tag/internal/logic/getproducttemplatetagslogic.go +++ b/server/product-template-tag/internal/logic/getproducttemplatetagslogic.go @@ -49,9 +49,6 @@ type LogoSelect struct { } func (l *GetProductTemplateTagsLogic) GetProductTemplateTags(req *types.GetProductTemplateTagsReq, userinfo *auth.UserInfo) (resp *basic.Response) { - if req.Limit <= 0 || req.Limit > 100 { - req.Limit = 5 - } var ( productTemplateTags []gmodel.FsProductTemplateTags err error