admin
2019-02-22 e358583d644fa39fc1e93b14b3cafff3644980e4
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 org.fanli.facade.system.service.common;
 
import java.math.BigDecimal;
 
import org.fanli.facade.system.exception.SMSException;
 
/**
 * 短信服务
 * 
 * @author Administrator
 *
 */
public interface SMSService {
 
    /**
     * 发送登录验证码
     * 
     * @param phone
     * @throws SMSException
     */
    public String sendLoginVCode(String phone) throws SMSException;
 
    /**
     * 发送绑定验证码
     * 
     * @param phone
     * @throws SMSException
     */
    public void sendBindVCode(String phone) 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;
}