package com.td.WaDa.sys.sysuser.service;

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