Pu Zhibing
2025-01-13 d438c2d73da577b0729176e9a315cde659987b97
ruoyi-service/ruoyi-account/src/main/java/com/ruoyi/account/controller/AppUserController.java
@@ -98,6 +98,8 @@
    private SysUserClient sysUserClient;
    @Resource
    private OrderClient orderClient;
    @Resource
    private UserCancellationLogService userCancellationLogService;
    @ResponseBody
@@ -207,8 +209,7 @@
        return R.ok(user);
    }
    @Resource
    private UserCancellationLogService userCancellationLogService;
    @ResponseBody
    @GetMapping("/unregis")
@@ -304,7 +305,8 @@
        if (user.getShopId() != null) {
            R<Shop> storeById = shopClient.getShopById(user.getShopId());
            if (storeById.getData() != null) {
                user.setShopName(storeById.getData().getName());
                Shop shop = storeById.getData();
                user.setShopName(shop.getName());
            }
        }
        Long count1 = appUserService.lambdaQuery().eq(AppUser::getVipId, 1).eq(AppUser::getInviteUserId, userId).or().eq(AppUser::getTopInviteId,userId).count();