Commit faa1ca6b by ping.wu

会员优化打印日志

parent 1a77b3c4
...@@ -2493,9 +2493,10 @@ public class ShoppingCartNewServiceImpl implements ShoppingCartNewService { ...@@ -2493,9 +2493,10 @@ public class ShoppingCartNewServiceImpl implements ShoppingCartNewService {
// } // }
// return sessionUserInfo.getResult(); // return sessionUserInfo.getResult();
AssortmentCustomerInfoVo customerInfoVo = customerInfoManager.getCustomerInfoByObject(sessionId); AssortmentCustomerInfoVo customerInfoVo = customerInfoManager.getCustomerInfoByObject(sessionId);
if(customerInfoVo == null) throw new ServiceException(ResponseResult.NOT_LOGIN);; if(customerInfoVo == null) throw new ServiceException(ResponseResult.NOT_LOGIN);
String jsonObject = JSON.toJSONString(customerInfoVo); String jsonObject = JSON.toJSONString(customerInfoVo);
CustomerInfoVo customerInfoVo1 = JSON.parseObject(jsonObject,CustomerInfoVo.class); CustomerInfoVo customerInfoVo1 = JSON.parseObject(jsonObject,CustomerInfoVo.class);
LogUtil.debug("customerInfoVo",sessionId,customerInfoVo);
// BeanUtil.convertBean(customerInfoVo,customerInfoVo1); // BeanUtil.convertBean(customerInfoVo,customerInfoVo1);
return customerInfoVo1; return customerInfoVo1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment