【问题修复】:解决线下自提点初次绑定用户时页面卡死问题

线下自提点初次绑定用户时因为返回数据为null导致前端页面一直处于加载中的状态

Signed-off-by: hhd <17835559578@163.com>
This commit is contained in:
hhd 2025-03-10 00:42:18 +00:00 committed by Gitee
parent 21a9d37f97
commit 8fbb55a271
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ public class DeliveryPickUpStoreController {
return success(null);
}
List<AdminUserRespDTO> verifyUsers = CollUtil.isNotEmpty(deliveryPickUpStore.getVerifyUserIds()) ?
adminUserApi.getUserList(deliveryPickUpStore.getVerifyUserIds()) : null;
adminUserApi.getUserList(deliveryPickUpStore.getVerifyUserIds()) : new ArrayList<>();
return success(BeanUtils.toBean(deliveryPickUpStore, DeliveryPickUpStoreRespVO.class)
.setVerifyUsers(BeanUtils.toBean(verifyUsers, UserSimpleBaseVO.class)));
}