|
|
|
@ -653,11 +653,12 @@ public class GoodsServiceImpl implements GoodsService { |
|
|
|
cimap.put("goods_isli", goodsIsli); |
|
|
|
cimap.put("use_years", userYears); |
|
|
|
carList.add(cimap); |
|
|
|
JSONObject retjson =SzCarUtils.addCart(shopRedisKey,userIsli,cimap); |
|
|
|
} |
|
|
|
} |
|
|
|
// 添加到购物车json
|
|
|
|
carjson.put("user_isli",userIsli); |
|
|
|
carjson.put("data",carList); |
|
|
|
//carjson.put("user_isli",userIsli);
|
|
|
|
//carjson.put("data",carList);
|
|
|
|
RedisUtil.set(shopRedisKey, carjson.toJSONString()); |
|
|
|
} else { |
|
|
|
//first biuld car item
|
|
|
|
|