1 Star 0 Fork 3

yanghui1314 / 用户登录模块设计

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
MenuDao.java 942 Bytes
一键复制 编辑 原始数据 按行查看 历史
大老粗 提交于 2020-12-31 11:50 . no commit message
package com.iproinfo.index.mapper;
import com.iproinfo.index.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
/**
* @Package: com.iproinfo.index.mapper
* @ClassName: MenuDao
* @Author: Zy_Rong
* @CreateTime: 2020/12/23 14:46
* @Description:
*/
@Mapper
public interface MenuDao {
//注册——密码使用PBKDF2进行加密
int addUser(User user);
//根据userName查找当时注册的盐值
User findSalt(@Param("userName") String userName);
//登录验证
User findOneUser(@Param("userName") String userName, @Param("passWord") String passWord);
//登录失败
int failedUserLogin(@Param("userName") String userName, @Param("time") String time);
//查询10分钟内登录失败次数
int logonFailureTimes(@Param("userName") String userName, @Param("newTime") String newTime, @Param("oldTime") String oldTime);
}
Java
1
https://gitee.com/yanghui1314/login.git
git@gitee.com:yanghui1314/login.git
yanghui1314
login
用户登录模块设计
master

搜索帮助