28 lines
636 B
Java
28 lines
636 B
Java
package com.durant.service;
|
|
|
|
import com.durant.Result;
|
|
import com.durant.dto.request.LoginReq;
|
|
import com.durant.mapper.LoginMapper;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.stereotype.Service;
|
|
|
|
/**
|
|
* @author 冯凯
|
|
* @version 1.0
|
|
* @description: TODO
|
|
* @date 2023/10/3 14:09
|
|
*/
|
|
@Service
|
|
public class LoginServiceImpl implements LoginService {
|
|
|
|
@Autowired
|
|
private LoginMapper loginMapper;
|
|
|
|
@Override
|
|
public Result<LoginReq> userLogin(LoginReq loginReq) {
|
|
LoginReq loginReq1=loginMapper.userLogin(loginReq);
|
|
|
|
return Result.success(loginReq1);
|
|
}
|
|
}
|