From 3614e90e99d792577e7574b63d1eaddfaff6baf3 Mon Sep 17 00:00:00 2001 From: laodaming <11058467+laudamine@user.noreply.gitee.com> Date: Tue, 4 Jul 2023 17:17:37 +0800 Subject: [PATCH] fix --- server/product/internal/logic/getproductinfologic.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server/product/internal/logic/getproductinfologic.go b/server/product/internal/logic/getproductinfologic.go index b7844986..f289cf84 100644 --- a/server/product/internal/logic/getproductinfologic.go +++ b/server/product/internal/logic/getproductinfologic.go @@ -257,7 +257,9 @@ func (l *GetProductInfoLogic) GetProductInfo(req *types.GetProductInfoReq, useri if !ok || *allModel3dList[key].Status != 1 { continue } - thisInfo := allModel3dList[key] + var thisInfo map[string]interface{} + temBytes, _ := json.Marshal(allModel3dList[key]) + _ = json.Unmarshal(temBytes, &thisInfo) } } /*