admin
2020-05-20 98b1a0affd69bbe63223c21fdd2c404e8bedfccb
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
52
53
54
package com.yeshi.fanli.service.inter.user;
 
import java.math.BigDecimal;
 
import com.yeshi.fanli.exception.config.SMSException;
 
/**
 * 短信服务
 * 
 * @author Administrator
 *
 */
public interface SMSService {
 
    /**
     * 发送登录验证码
     * 
     * @param phone
     * @throws SMSException
     */
    public String sendLoginVCode(String phone, int codeLength) throws SMSException;
 
    /**
     * 发送绑定验证码
     * 
     * @param phone
     * @throws SMSException
     */
    public void sendBindVCode(String phone, int codeLength) throws SMSException;
 
    /**
     * 发送提现验证码
     * 
     * @param phone
     * @throws SMSException
     */
    public void sendExtractVCode(String phone) throws SMSException;
 
    /**
     * 提现成功短信
     * 
     * @param phone
     * @param money
     */
    public void sendExtractSuccessMsg(String phone, BigDecimal money) throws SMSException;
 
    /**
     * 发送提现失败验证码
     * 
     * @param phone
     * @param money
     */
    public void sendExtractFailMsg(String phone, BigDecimal money) throws SMSException;
}