yujian
2020-06-28 1e28ac69827ff7578a418a79bd95aff2c6637f5c
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
55
56
57
58
59
60
61
62
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;
 
    /**
     * 账户注销
     * @param phone
     * @param codeLength
     * @throws SMSException
     */
    public void sendRemoveVCode(String phone, int codeLength) throws SMSException;
}