This commit is contained in:
张良(004796)
2024-01-23 10:28:43 +08:00
parent 219ee646a9
commit c207732467
7 changed files with 59 additions and 0 deletions

View File

@@ -59,6 +59,7 @@ public class CurrentUserManager {
res.setUserId(userId);
Anchor anchor = anchorService.getByUserId(userId);
res.setOpenVideoStatus(anchor == null ? 1 : anchor.getOpenVideoStatus());
res.setOrderSwitch(anchor == null ? 2 : anchor.getOrderSwitch());
UserCount userCount = userCountService.getByUserId(userId);
res.setUserCount(BeanConvertUtil.convertTo(userCount, UserCountVo::new));
Account account = accountService.getByUserId(userId);