package com.lideeyunji.service.system.api;

import com.lideeyunji.service.system.dto.LoginLogCreateReqDTO;
import com.lideeyunji.service.system.service.ILoginLogService;
import org.springframework.stereotype.Service;
import org.springframework.validation.annotation.Validated;

import javax.annotation.Resource;

/**
 * 登录日志的 API 实现类
 *
 * @author 金灯剑客
 */
@Service
@Validated
public class ApiLoginLogApiImpl implements IApiLoginLogApi {

    @Resource
    private ILoginLogService loginLogService;

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

}
