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
| 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);
|
|
| /**
| * @return void
| * @author hxh
| * @description 发送登录验证码
| * @date 11:33 2022/1/13
| * @param: phone
| * @param: codeLength
| **/
| public void sendLoginVCode(String phone, int codeLength,String detailSystemId,int version) throws SMSException;
|
|
| /**
| * @return boolean
| * @author hxh
| * @description /验证登录验证码
| * @date 11:33 2022/1/13
| * @param: phone
| * @param: code
| **/
| public boolean verifyLoginVCode(String phone, String code,String detailSystemId,int version);
| }
|
|