package com.cico.nest.lcdp.boot.core.system.api.logger;

import com.cico.nest.lcdp.boot.core.system.service.logger.LoginLogService;
import com.cico.nest.lcdp.boot.api.system.logger.LoginLogApi;
import com.cico.nest.lcdp.boot.api.system.logger.dto.LoginLogCreateReqDTO;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;
import org.springframework.validation.annotation.Validated;


/**
 * 登录日志的 API 实现类
 *
 * @author zws
 */
@Service
@Validated
public class LoginLogApiImpl implements LoginLogApi {

    @Resource
    private LoginLogService loginLogService;

    @Override
    public void createLoginLog(LoginLogCreateReqDTO reqDTO) {
        loginLogService.createLoginLog(reqDTO);
    }

}
