【修复】修复商品下架后,购物车未清理缓存,导致商品还存在购物车可以下单跳转的情况。

【修复】修复商品下架或者删除后,我的足迹统计数据不准确的问题。
This commit is contained in:
大灰灰
2022-12-07 01:38:10 +08:00
parent b6db382dc0
commit 422ece5c65
5 changed files with 45 additions and 1 deletions

View File

@@ -839,7 +839,7 @@ namespace CoreCms.Net.Web.WebApi.Controllers
//订单数量
var orderCount = await _orderServices.OrderCount(0, user.id);
//足迹
var footPrintCount = await _goodsBrowsingServices.GetCountAsync(p => p.userId == user.id);
var footPrintCount = await _goodsBrowsingServices.GetUserCountAsync(user.id);
//收藏
var collectionCount = await _goodsCollectionServices.GetCountAsync(p => p.userId == user.id);