admin
2021-01-25 2ba431be9c12a79783e0f9ef249292b7fa95f2a1
fanli/src/main/java/com/yeshi/fanli/service/inter/user/SMSService.java
@@ -2,7 +2,8 @@
import java.math.BigDecimal;
import com.yeshi.fanli.exception.SMSException;
import com.yeshi.fanli.entity.SystemEnum;
import com.yeshi.fanli.exception.config.SMSException;
/**
 * 短信服务
@@ -18,7 +19,7 @@
    * @param phone
    * @throws SMSException
    */
   public String sendLoginVCode(String phone) throws SMSException;
   public String sendLoginVCode(SystemEnum system, String phone, int codeLength) throws SMSException;
   /**
    * 发送绑定验证码
@@ -26,7 +27,7 @@
    * @param phone
    * @throws SMSException
    */
   public void sendBindVCode(String phone) throws SMSException;
   public void sendBindVCode(SystemEnum system,String phone, int codeLength) throws SMSException;
   /**
    * 发送提现验证码
@@ -34,7 +35,7 @@
    * @param phone
    * @throws SMSException
    */
   public void sendExtractVCode(String phone) throws SMSException;
   public void sendExtractVCode(SystemEnum system,String phone) throws SMSException;
   /**
    * 提现成功短信
@@ -42,7 +43,7 @@
    * @param phone
    * @param money
    */
   public void sendExtractSuccessMsg(String phone, BigDecimal money) throws SMSException;
   public void sendExtractSuccessMsg(SystemEnum system,String phone, BigDecimal money) throws SMSException;
   /**
    * 发送提现失败验证码
@@ -50,5 +51,13 @@
    * @param phone
    * @param money
    */
   public void sendExtractFailMsg(String phone, BigDecimal money) throws SMSException;
   public void sendExtractFailMsg(SystemEnum system,String phone, BigDecimal money) throws SMSException;
   /**
    * 账户注销
    * @param phone
    * @param codeLength
    * @throws SMSException
    */
   public void sendRemoveVCode(SystemEnum system,String phone, int codeLength) throws SMSException;
}