记得上下班打卡 | git大法好,push需谨慎

Commit 7b62ce43 authored by 胡佳晨's avatar 胡佳晨

修改 添加 orderlist方法

parent 5d2ef29a
......@@ -102,15 +102,21 @@ public class GoblinOrderServiceImpl implements IGoblinOrderService {
userVo = orderUtils.adamAddressEnterMember(uid, null, addressId);
log.info("adam接口调用:" + (System.currentTimeMillis() - time1) + "秒");
}
AdamAddressesVo addressesVo;
AdamAddressesVo addressesVo = AdamAddressesVo.getNew();
boolean isMember;
if (userVo == null) {
if (noZhengzaiOrder(uid)) {
throw new Exception("库存不足");
} else {
isMember = false;
addressesVo = null;
}
// if (noZhengzaiOrder(uid)) {
// throw new Exception("库存不足");
// } else {
// isMember = false;
// addressesVo = null;
// }
addressesVo.setName("");
addressesVo.setProvince("");
addressesVo.setCounty("");
addressesVo.setCity("");
addressesVo.setAddress("");
addressesVo.setPhone("");
} else {
addressesVo = userVo.getAddressesVo();
switch (userVo.getMembership()) {
......
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