From 2ba431be9c12a79783e0f9ef249292b7fa95f2a1 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期一, 25 一月 2021 19:13:58 +0800 Subject: [PATCH] 拼多多备案调整 --- fanli/src/main/java/com/yeshi/fanli/service/inter/user/SMSService.java | 21 +++++++++++++++------ 1 files changed, 15 insertions(+), 6 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/user/SMSService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/user/SMSService.java index c468cdb..9cb3db7 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/user/SMSService.java +++ b/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; } -- Gitblit v1.8.0