| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- package com.sckw.auth.service;
- import com.sckw.auth.model.vo.req.*;
- import com.sckw.auth.model.vo.res.LoginResVo1;
- import com.sckw.core.web.response.HttpResult;
- /**
- * @desc: 登录
- * @author: czh
- * @date: 2023/6/19
- */
- public interface IAuthService {
- /**
- * @param loginBase {}
- * @desc 登陆
- * @author zk
- * @date 2023/7/26
- **/
- HttpResult login(LoginBase loginBase);
- /**
- * @param reqVo 注册入参
- * @desc: 用户注册
- * @author: czh
- * @date: 2023/6/16
- */
- void register(RegisterReqVo reqVo);
- /**
- * @param reqDto 忘记密码入参
- * @desc: 忘记密码
- * @author: czh
- * @date: 2023/6/19
- */
- void forgetPassword(ForgetPasswordReqVo reqDto);
- /**
- * @param id 用户id
- * @desc: 重置密码
- * @author: czh
- * @date: 2023/7/3
- */
- void resetPassword(Long id);
- /**
- * @return LoginResVo1
- * @desc: 根据token获取登录信息
- * @author: czh
- * @date: 2023/9/27
- */
- LoginResVo1 getLoginResByToken(String clientType, String token);
- }
|