UserLoginLogService.java 744 B

1234567891011121314151617181920212223242526272829303132
  1. package com.zanxiang.sdk.service;
  2. import com.zanxiang.mybatis.entity.User;
  3. import com.zanxiang.sdk.domain.params.UserData;
  4. /**
  5. * @author : lingfeng
  6. * @time : 2022-06-13
  7. * @description :
  8. */
  9. public interface UserLoginLogService {
  10. /**
  11. * 创建角色登录日志
  12. *
  13. * @param userData 用户
  14. * @param type 类型
  15. * @param roleId 角色id
  16. * @param roleName 角色名字
  17. * @return {@link Boolean}
  18. */
  19. Boolean createRoleLoginLog(UserData userData, String roleId, String roleName, Integer type);
  20. /**
  21. * 创建用户登录日志
  22. *
  23. * @param user 用户
  24. * @param type 类型
  25. * @return {@link Boolean}
  26. */
  27. Boolean createUserLoginLog(User user, Integer type);
  28. }