From 42f31ed4cca6b07215245661830768bf4dcd8e3f Mon Sep 17 00:00:00 2001 From: laodaming <11058467+laudamine@user.noreply.gitee.com> Date: Wed, 22 Nov 2023 18:54:58 +0800 Subject: [PATCH] fix --- server/shopping-cart/internal/logic/getcartnumlogic.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/shopping-cart/internal/logic/getcartnumlogic.go b/server/shopping-cart/internal/logic/getcartnumlogic.go index 7446d529..8f0018e9 100644 --- a/server/shopping-cart/internal/logic/getcartnumlogic.go +++ b/server/shopping-cart/internal/logic/getcartnumlogic.go @@ -87,7 +87,7 @@ func (l *GetCartNumLogic) GetCartNum(req *types.Request, userinfo *auth.UserInfo return resp.SetStatusWithMessage(basic.CodeServiceErr, "system err:failed to check shopping cart change data") } return resp.SetStatusWithMessage(basic.CodeOK, "success", types.GetCartNumRsp{ - TotalCount: total - int64(len(mapCartChange)), + TotalCount: total - int64(len(mapCartChange)), //总数 - 失效的 }) }