This commit is contained in:
Junling Bu
2019-08-15 22:56:05 +08:00
parent b8dde20724
commit dc5d017768
4 changed files with 4 additions and 4 deletions

View File

@@ -134,7 +134,7 @@ public class WxAddressController extends GetRegionService {
}
if (address.getIsDefault()) {
// 重置其他收地址的默认选项
// 重置其他收地址的默认选项
addressService.resetDefault(userId);
}

View File

@@ -395,7 +395,7 @@ public class WxCartController {
LitemallAddress checkedAddress = null;
if (addressId == null || addressId.equals(0)) {
checkedAddress = addressService.findDefault(userId);
// 如果仍然没有地址,则是没有收地址
// 如果仍然没有地址,则是没有收地址
// 返回一个空的地址id=0这样前端则会提醒添加地址
if (checkedAddress == null) {
checkedAddress = new LitemallAddress();