用户在进入个人中心前,都需要判断用户是否登录。在加入购物车之前,判断商品是否存在。如果用户已登录,则保存购物车数据到redis中;操作redis,保存购物车数据,"cart_用户id": {"sku_1": 10, "sku_2": 11},先尝试从用户的购物车...
The world is moving so fast that the person who says it can't be done is generally interrupted by someone doing it.
Dream big dreams. Small dreams have no magic.