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

import com.YuyeTech.HeartRate.common.pojo.Result;
import com.YuyeTech.HeartRate.common.service.CommonService;
import com.YuyeTech.HeartRate.sys.sysuser.pojo.SysUser;
import com.YuyeTech.HeartRate.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();
}
