|
@@ -18,9 +18,12 @@ import com.jeeplus.sys.service.MenuService;
|
|
import com.jeeplus.sys.service.UserService;
|
|
import com.jeeplus.sys.service.UserService;
|
|
import com.jeeplus.sys.service.dto.*;
|
|
import com.jeeplus.sys.service.dto.*;
|
|
import com.jeeplus.sys.service.mapstruct.MenuWrapper;
|
|
import com.jeeplus.sys.service.mapstruct.MenuWrapper;
|
|
|
|
+import com.jeeplus.sys.sms.SMSUtils;
|
|
import org.springframework.security.core.Authentication;
|
|
import org.springframework.security.core.Authentication;
|
|
import org.springframework.security.core.context.SecurityContextHolder;
|
|
import org.springframework.security.core.context.SecurityContextHolder;
|
|
|
|
|
|
|
|
+import java.io.IOException;
|
|
|
|
+import java.util.HashMap;
|
|
import java.util.HashSet;
|
|
import java.util.HashSet;
|
|
import java.util.List;
|
|
import java.util.List;
|
|
import java.util.Set;
|
|
import java.util.Set;
|
|
@@ -286,5 +289,11 @@ public class UserUtils {
|
|
return "";
|
|
return "";
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ //容联云通讯
|
|
|
|
+ public static HashMap<String,Object> sendRandomCodes(String mobile, String randomCode) throws IOException {
|
|
|
|
+ return SMSUtils.sends(mobile, randomCode);
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
|
|
}
|
|
}
|