admin
2021-03-23 7def9937241d8c5fada7a63c8a0fd144bf0c05ff
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
package com.yeshi.buwan.service.inter;
 
import com.yeshi.buwan.exception.SMSException;
 
public interface SMSService {
 
    /**
     * 发送绑定验证码
     *
     * @param uid
     * @param phone
     * @param codeLength
     * @throws SMSException
     */
    public void sendBindVCode(String uid, String phone, int codeLength) throws SMSException;
 
    /**
     * 验证码是否在正确
     *
     * @param phone
     * @param code
     * @return
     */
    public boolean verifyBindVCode(String phone, String code);
}