| | |
| | | package com.yeshi.fanli.service.inter.user;
|
| | |
|
| | | import com.yeshi.fanli.exception.SMSException;
|
| | | import java.math.BigDecimal;
|
| | |
|
| | | import com.yeshi.fanli.exception.config.SMSException;
|
| | |
|
| | | /**
|
| | | * 短信服务
|
| | |
| | | * @param phone
|
| | | * @throws SMSException
|
| | | */
|
| | | public String sendLoginVCode(String phone) throws SMSException;
|
| | | public String sendLoginVCode(String phone, int codeLength) throws SMSException;
|
| | |
|
| | | /**
|
| | | * 发送绑定验证码
|
| | |
| | | * @param phone
|
| | | * @throws SMSException
|
| | | */
|
| | | public void sendBindVCode(String phone) throws SMSException;
|
| | | public void sendBindVCode(String phone, int codeLength) throws SMSException;
|
| | |
|
| | | /**
|
| | | * 发送提现验证码
|
| | |
| | | * @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;
|
| | | }
|