package com.red.circle.other.app.service.home;


import com.red.circle.common.business.dto.cmd.app.RecommendCmd;
import com.red.circle.other.app.command.material.query.RecommendUserQueryExe;
import com.red.circle.other.app.dto.clientobject.home.RecommendUserCO;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * 首页在线用户
 * @author zongpubin on 2023/12/5
 */
@Slf4j
@Service
@AllArgsConstructor
public class RecommendUserServiceImpl implements RecommendUserService {

  private final RecommendUserQueryExe recommendUserQueryExe;

  @Override
  public RecommendUserCO listRecommendUser(RecommendCmd cmd) {

    return recommendUserQueryExe.execute(cmd);
  }
}
