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


import com.red.circle.common.business.dto.cmd.AppExtCommand;
import com.red.circle.framework.core.dto.AppCommand;
import com.red.circle.framework.core.dto.CommonCommand;
import com.red.circle.other.app.command.user.query.UserLoginLoggerQueryExe;
import com.red.circle.other.app.dto.clientobject.user.user.LoginLoggerCO;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

/**
 * 用户登录日志信息服务
 *
 * @author zongpubin on 2023/11/27
 */
@Service
@AllArgsConstructor
public class UserLoginLoggerServiceImpl implements UserLoginLoggerService {

  private final UserLoginLoggerQueryExe userLoginLoggerQueryExe;

  @Override
  public LoginLoggerCO getUserInfo(AppCommand cmd) {
    return userLoginLoggerQueryExe.execute(cmd);
  }
}
