cy
2022-06-21 129904537f66509f97b285e7eb4f42b3dc349dd0
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
package cn.ksource.web.facade.loginuser;
 
public interface LoginUserFacade {
    
    /**
     * 修改密码
     * @param userId
     * @param oldPassword
     * @param newPassword
     * @return
     */
    String updateUserPwd(String userId, String oldPassword, String newPassword);
    
    /**
     * 绑定用户手机号码
     * @param userId
     * @param mobile
     * @return
     */
    String updateUserMobile(String userId, String mobile);
    /**
     * 判断该手机号是否已经绑定过
     * @param userId
     * @param mobile
     * @return
     */
    boolean isPhone(String userId, String mobile);
    /**
     * 绑定用户手机号码
     * @param userId
     * @param mobile
     * @return
     */
    String updateUserEmail(String userId, String email);
    /**
     * 判断该邮箱是否已经绑定过
     * @param userId
     * @param mobile
     * @return
     */
    boolean isEmail(String userId, String email);
 
    /**
     * 查看密码是否正确
     * @param userId
     * @param pwd
     * @return
     */
    int getUserByPwd(String userId, String pwd);
 
}