86183
2022-09-09 0d999e33085c0a25c5525242748f6aa62a401159
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
package cn.mb.cloud.auth.security.service;
 
 
import cn.mb.cloud.auth.security.entity.User;
import cn.mb.cloud.common.core.util.ResponseData;
import cn.mb.cloud.common.data.base.BaseService;
 
/**
 * <p>
 * 用户 服务类
 * </p>
 *
 * @author zhao
 * @since 2022-05-16
 */
public interface IUserService extends BaseService<User> {
    /**
     * 验证短信验证码
     * @param type 短信类型
     * @param phone 手机号码
     * @param code 验证码
     * @return boolean 是否验证成功
     */
    ResponseData verifyCode(Integer type, String phone, String code);
 
    /**
     * 忘记密码
     * @param phone:手机号
     * @param pswMd5:密码
     * @return
     */
     ResponseData forgetPassword(String phone,String pswMd5);
}