liujie
2026-09-20 25999c575dd42b4715e49d3fe57e73c2c3204ccb
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);
 
 
 
}