From 16fc420030b9804ba9c5a499b10f813c11246694 Mon Sep 17 00:00:00 2001 From: laodaming <11058467+laudamine@user.noreply.gitee.com> Date: Wed, 25 Oct 2023 13:14:07 +0800 Subject: [PATCH] fix --- server/product/internal/logic/getproductdetaillogic.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/product/internal/logic/getproductdetaillogic.go b/server/product/internal/logic/getproductdetaillogic.go index 0ac63b8d..5dd14418 100644 --- a/server/product/internal/logic/getproductdetaillogic.go +++ b/server/product/internal/logic/getproductdetaillogic.go @@ -349,7 +349,7 @@ func (l *GetProductDetailLogic) GetTemplateTagColor(req *types.GetProductDetailR //颜色选择置0 req.SelectedColorIndex = 0 //获取默认profile从中获取logo - profile, err := l.svcCtx.AllModels.FsUserInfo.GetProfileByUserIdGuestId(l.ctx, "logo_selected.logo_url", 0, 0) + profile, err := l.svcCtx.AllModels.FsUserInfo.GetProfileByUserIdGuestId(l.ctx, "logo_selected", 0, 0) if err != nil { if errors.Is(err, gorm.ErrRecordNotFound) { return types.TemplateTagColorInfo{}, errors.New("the default profile info is not exists")