Commit f4df913b by ping.wu

用户sessionid未传提示未登录

parent e7399a8f
...@@ -2170,7 +2170,7 @@ public class OrderServiceImpl implements Orderservice { ...@@ -2170,7 +2170,7 @@ public class OrderServiceImpl implements Orderservice {
@Override @Override
public BaseResponse getNewRefundReason(GetRefundReasonVo getRefundReasonVo) { public BaseResponse getNewRefundReason(GetRefundReasonVo getRefundReasonVo) {
AssortmentCustomerInfoVo userInfo = customerInfoManager.getCustomerInfoByObject(getRefundReasonVo.getSessionId()); AssortmentCustomerInfoVo userInfo = customerInfoManager.getCustomerInfoByObject(getRefundReasonVo.getSessionId());
if (userInfo != null && userInfo.getMemberId() == null) { if (userInfo == null || userInfo.getMemberId() == null) {
throw new ServiceException(ResponseResult.NOT_LOGIN); throw new ServiceException(ResponseResult.NOT_LOGIN);
} }
String oid = getRefundReasonVo.getOid(); String oid = getRefundReasonVo.getOid();
...@@ -2180,7 +2180,6 @@ public class OrderServiceImpl implements Orderservice { ...@@ -2180,7 +2180,6 @@ public class OrderServiceImpl implements Orderservice {
GetRefundResonResponseVo result = new GetRefundResonResponseVo(); GetRefundResonResponseVo result = new GetRefundResonResponseVo();
List<RefundReasonResponseVo> refundReasonResponseVos = getRefundReasonResponseVos(getRefundReasonVo); List<RefundReasonResponseVo> refundReasonResponseVos = getRefundReasonResponseVos(getRefundReasonVo);
result.setRefundReasons(refundReasonResponseVos); result.setRefundReasons(refundReasonResponseVos);
assert userInfo != null;
String refundDocument = buildRefundDocument(oid, userInfo.getPartnerId()); String refundDocument = buildRefundDocument(oid, userInfo.getPartnerId());
result.setRefundDocument(refundDocument); result.setRefundDocument(refundDocument);
return ResponseUtil.success(result); return ResponseUtil.success(result);
......
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