package com.tofly.gpsboot.service.comm.impl;

import com.tofly.gpsboot.custom.mapper.UserLoginMapper;
import com.tofly.gpsboot.service.comm.UserService;
import com.tofly.pojo.comm.vo.LoginUserVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author wujianjun
 * @date 2023/9/28 10:36
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserLoginMapper userLoginMapper;


    @Override
    public LoginUserVO getUserInfo(Long userId) {
        return userLoginMapper.getUserLogin(userId);
    }
}
