liujie
2026-01-21 66ec0428ca4f69dec6f698a3fd201944da8e2683
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package com.estate.expert.admin.service;
 
import com.estate.expert.admin.domain.common.response.UserLoginResponse;
 
import javax.validation.constraints.NotNull;
 
/**
 * 登录服务
 */
public interface LoginService {
 
    /**
     * 登录
     * @param mobile 手机号
     * @param password 密码
     * @return 登录响应
     */
    UserLoginResponse login(String mobile, String password);
 
    /**
     * 退出登录
     * @param token 令牌
     */
    void logout(String token);
 
 
 
}