This commit is contained in:
aozhiwei 2024-06-24 15:14:22 +08:00
parent f32960e808
commit 4ebeed54a7

View File

@ -261,6 +261,7 @@ func (this *ShopCartApi) Del(c *gin.Context) {
dirty = true
}
}
cartDb.Goods = newGoods
if dirty {
this.save(openId, cartDb)
}