From f94a5a1d3fe9bde0e599d41f2d97caea1b08a88d Mon Sep 17 00:00:00 2001 From: yujian <yujian@163.com> Date: 星期一, 29 六月 2020 15:48:12 +0800 Subject: [PATCH] 免单调整 --- fanli/src/main/java/com/yeshi/fanli/service/inter/user/SMSService.java | 32 +++++++++++++++++++++++++++++--- 1 files changed, 29 insertions(+), 3 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 a7c00d7..e30a27d 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 @@ -1,6 +1,8 @@ package com.yeshi.fanli.service.inter.user; -import com.yeshi.fanli.exception.SMSException; +import java.math.BigDecimal; + +import com.yeshi.fanli.exception.config.SMSException; /** * 鐭俊鏈嶅姟 @@ -16,7 +18,7 @@ * @param phone * @throws SMSException */ - public String sendLoginVCode(String phone) throws SMSException; + public String sendLoginVCode(String phone, int codeLength) throws SMSException; /** * 鍙戦�佺粦瀹氶獙璇佺爜 @@ -24,7 +26,7 @@ * @param phone * @throws SMSException */ - public void sendBindVCode(String phone) throws SMSException; + public void sendBindVCode(String phone, int codeLength) throws SMSException; /** * 鍙戦�佹彁鐜伴獙璇佺爜 @@ -33,4 +35,28 @@ * @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; + + /** + * 璐︽埛娉ㄩ攢 + * @param phone + * @param codeLength + * @throws SMSException + */ + public void sendRemoveVCode(String phone, int codeLength) throws SMSException; } -- Gitblit v1.8.0