From 4ebeed54a7363334a3a205d8a518fe40cf4026cc Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 24 Jun 2024 15:14:22 +0800 Subject: [PATCH] 1 --- server/marketserver/api/v1/shopcart/shopcart.go | 1 + 1 file changed, 1 insertion(+) diff --git a/server/marketserver/api/v1/shopcart/shopcart.go b/server/marketserver/api/v1/shopcart/shopcart.go index 91d99706..6aa9fc24 100644 --- a/server/marketserver/api/v1/shopcart/shopcart.go +++ b/server/marketserver/api/v1/shopcart/shopcart.go @@ -261,6 +261,7 @@ func (this *ShopCartApi) Del(c *gin.Context) { dirty = true } } + cartDb.Goods = newGoods if dirty { this.save(openId, cartDb) }