2 Star 5 Fork 10

Barry / RuoYi-Vue-SmsLogin

forked from chougui / RuoYi-Vue-SmsLogin 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

RuoYi-Vue-SmsLogin

若依分离版短信登录

主要依照springSecurity用户名密码登录的认证流程来重写短信认证流程,不清楚springSecurity的认证流程的先建议熟悉一下springSecurity认证流程,这样对短信认证登录就比较好理解。 这里有个认证流程讲解可以参考参考https://blog.csdn.net/yuanlaijike/article/details/84703690

功能速览

重写认证流程主要在ruoyi-framework下面

熟悉认证流程后再添加一个smsUserDetailService

添加后会出现两个userDetail,一个是用户名登录,一个是短信登录,两个都实现了UserDetailsService,必须在一个上指定@Primary,不然启动时spring会报错。

登录页面

短信暂时采用后台生成随机数字,发送后可在后台查看。 文档不是写的很好,多多谅解哈哈哈 有问题联系qq:644119817 一个大胸弟提供了一份非常详细的说明,在上面,比我说的好万倍,手把手式的,还不会的建议直接打死哈哈哈

The MIT License (MIT) Copyright (c) 2018 RuoYi Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

若依分离版短信登录 展开 收起
Java
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Java
1
https://gitee.com/Barry1115/RuoYi-Vue-SmsLogin.git
git@gitee.com:Barry1115/RuoYi-Vue-SmsLogin.git
Barry1115
RuoYi-Vue-SmsLogin
RuoYi-Vue-SmsLogin
master

搜索帮助