package com.YuyeTech.TPlat.sys.sysuser.service;

import com.YuyeTech.TPlat.common.pojo.Result;
import com.YuyeTech.TPlat.common.service.CommonService;
import com.YuyeTech.TPlat.sys.sysuser.pojo.SysUser;
import com.YuyeTech.TPlat.sys.sysuser.vo.SysUserVo;
import org.springframework.security.web.authentication.rememberme.PersistentTokenRepository;

public interface SysUserService extends CommonService<SysUserVo, SysUser, String> {
    Result<SysUserVo> findByLoginName(String username);
    Result<SysUserVo> resetPassword(String userId);
    PersistentTokenRepository getPersistentTokenRepository2();
}
