From 2f45b83ba33e6d3da844541f4066a849db53d0e0 Mon Sep 17 00:00:00 2001 From: laodaming <11058467+laudamine@user.noreply.gitee.com> Date: Wed, 11 Oct 2023 12:16:54 +0800 Subject: [PATCH] fix --- server/product/internal/logic/gettagproductlistlogic.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/product/internal/logic/gettagproductlistlogic.go b/server/product/internal/logic/gettagproductlistlogic.go index ef025139..87d7ea1b 100644 --- a/server/product/internal/logic/gettagproductlistlogic.go +++ b/server/product/internal/logic/gettagproductlistlogic.go @@ -172,7 +172,7 @@ func (l *GetTagProductListLogic) getProductRelationInfo(req getProductRelationIn IsDel: &pIsDel, IsShelf: &pIsShelf, Status: &pStatus, - OrderBy: "`is_recommend` DESC,`sort` ASC", + OrderBy: "`sort` ASC", }) if err != nil { logx.Error(err)