小程序修正
This commit is contained in:
@@ -4,8 +4,6 @@ import org.xyzh.common.core.domain.LoginDomain;
|
||||
import org.xyzh.common.core.domain.LoginParam;
|
||||
import org.xyzh.common.core.domain.ResultDomain;
|
||||
|
||||
import jakarta.servlet.http.HttpServletRequest;
|
||||
|
||||
/**
|
||||
* @description 认证服务接口
|
||||
* @filename AuthService.java
|
||||
@@ -16,32 +14,32 @@ import jakarta.servlet.http.HttpServletRequest;
|
||||
public interface AuthService {
|
||||
|
||||
/**
|
||||
* @description 登录
|
||||
* @param LoginParam loginParam 登录参数
|
||||
* @param HttpServletRequest request 请求
|
||||
* @description 登录(用于Dubbo远程调用,clientIp需提前设置到loginParam中)
|
||||
* @param LoginParam loginParam 登录参数(包含clientIp)
|
||||
* @return ResultDomain<LoginDomain> 登录结果
|
||||
* @author yslg
|
||||
* @since 2025-11-03
|
||||
*/
|
||||
ResultDomain<LoginDomain> login(LoginParam loginParam, HttpServletRequest request);
|
||||
ResultDomain<LoginDomain> login(LoginParam loginParam);
|
||||
|
||||
/**
|
||||
* @description 刷新token
|
||||
* @param HttpServletRequest request 请求
|
||||
* @param token 当前token
|
||||
* @param clientIp 客户端IP
|
||||
* @return ResultDomain<LoginDomain> 刷新token结果
|
||||
* @author yslg
|
||||
* @since 2025-11-03
|
||||
*/
|
||||
ResultDomain<LoginDomain> refreshToken(HttpServletRequest request);
|
||||
ResultDomain<LoginDomain> refreshToken(String token, String clientIp);
|
||||
|
||||
/**
|
||||
* @description 登出
|
||||
* @param HttpServletRequest request 请求
|
||||
* @param token 当前token
|
||||
* @return ResultDomain<LoginDomain> 登出结果
|
||||
* @author yslg
|
||||
* @since 2025-11-03
|
||||
*/
|
||||
ResultDomain<LoginDomain> logout(HttpServletRequest request);
|
||||
ResultDomain<LoginDomain> logout(String token);
|
||||
|
||||
/**
|
||||
* @description 根据验证码类型获取验证码
|
||||
|
||||
Reference in New Issue
Block a user