管理登录次数+登录时间的记录

This commit is contained in:
none
2023-02-17 15:13:21 +08:00
parent aed4c60296
commit 9a9226baa3
7 changed files with 114 additions and 28 deletions

View File

@@ -5,6 +5,8 @@ import xyz.playedu.api.domain.AdminUser;
import com.baomidou.mybatisplus.extension.service.IService;
import xyz.playedu.api.types.PaginationResult;
import java.util.Date;
/**
* @author tengteng
* @description 针对表【admin_users】的数据库操作Service
@@ -16,4 +18,6 @@ public interface AdminUserService extends IService<AdminUser> {
AdminUser findByEmail(String email);
AdminUser findById(Integer id);
Integer updateLoginTimesAndLoginAt(Integer id, Date loginAt, Integer loginTimes);
}