This commit is contained in:
laodaming 2023-11-22 18:54:58 +08:00
parent baba117865
commit 42f31ed4cc

View File

@ -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)), //总数 - 失效的
})
}