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 | 35 +++++++++++++++++++++++++++++++---- 1 files changed, 31 insertions(+), 4 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..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 @@ -1,6 +1,9 @@ package com.yeshi.fanli.service.inter.user; -import com.yeshi.fanli.exception.SMSException; +import java.math.BigDecimal; + +import com.yeshi.fanli.entity.SystemEnum; +import com.yeshi.fanli.exception.config.SMSException; /** * 鐭俊鏈嶅姟 @@ -16,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; /** * 鍙戦�佺粦瀹氶獙璇佺爜 @@ -24,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; /** * 鍙戦�佹彁鐜伴獙璇佺爜 @@ -32,5 +35,29 @@ * @param phone * @throws SMSException */ - public void sendExtractVCode(String phone) throws SMSException; + public void sendExtractVCode(SystemEnum system,String phone) throws SMSException; + + /** + * 鎻愮幇鎴愬姛鐭俊 + * + * @param phone + * @param money + */ + public void sendExtractSuccessMsg(SystemEnum system,String phone, BigDecimal money) throws SMSException; + + /** + * 鍙戦�佹彁鐜板け璐ラ獙璇佺爜 + * + * @param phone + * @param money + */ + 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