From dc5be7d38446f70e6ff86df311119c32b41fe7f8 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期六, 28 十一月 2020 16:37:05 +0800 Subject: [PATCH] 大淘客搜索接口升级 --- fanli/src/main/java/com/yeshi/fanli/service/inter/user/SMSService.java | 19 ++++++++++++++----- 1 files changed, 14 insertions(+), 5 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 c7e249a..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,6 +2,7 @@ import java.math.BigDecimal; +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, int codeLength) 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, int codeLength) 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