无关风月
2 天以前 ec2e9d15da0b196267a6b490bbe765b408d273f5
cloud-server-account/src/main/java/com/dsh/account/controller/AppUserController.java
@@ -474,6 +474,7 @@
            VipPaymentVO res = new VipPaymentVO();
            res.setHeadImg(appUser.getHeadImg());
            res.setName(appUser.getName());
            res.setVipEndTime(appUser.getVipEndTime());
            if (appUser.getVipEndTime()==null){
                res.setIsVip(0);
            }else if (appUser.getVipEndTime().before(new Date())){
@@ -484,11 +485,13 @@
            appUserService.updateById(appUser);
            List<Vip> vips = vipClient.listAll();
            res.setVipList(vips);
            return ResultUtil.success(res);
        } catch (Exception e) {
            e.printStackTrace();
            return ResultUtil.runErr();
        }
        return ResultUtil.success();
    }
//