thymeltesys
thymelte是一個基于Spring Boot Oauth2的掃碼登錄框架,使用PostgreSQL存儲數據,之后會慢慢支持其他關系型數據庫。即使你不使用整個框架,只使用其中的模塊,也很容易在現有的項目中集成。
項目地址https://github.com/jeesun/thymelte
希望大家多多支持,并指出不足。
若使用過程中有任何疑問或者問題,請提交issues,我會及時回復。
系統各模塊功能概覽:
模塊功能
thymelte
Springboot框架。查看截圖https://github.com/jeesun/thymelte
thymelte是web管理端,功能如下:
- 登錄頁面:4種登錄方式,用戶名+密碼,手機號+密碼,郵箱+密碼,app掃碼;登錄驗證碼;
- 管理頁面:使用Thymeleaf將AdminLTE頁面拆分成多個組件,降低耦合;
- 日志保存到文件并按日歸檔;
- Druid監控功能。
oauthserver
查看截圖https://github.com/jeesun/oauthserver
oauthserver為qbankserver提供access_token相關的接口
qbankserver
查看截圖https://github.com/jeesun/qbankserver
@SpringBootApplication。qbankserver為scanlogin提供api接口,功能如下:
- 集成阿里大于發送手機驗證碼功能;
- 集成swagger2,訪問http://localhost:8184/swagger-ui.html;
- 封裝了
oauthserver
模塊提供的access_token相關的接口。 - 日志記錄保存到文件。
scanlogin
查看截圖https://github.com/jeesun/ScanLogin
ScanLogin是android app,功能如下:
- 登錄退出
- 掃碼
- Android6.0以上設備的權限檢查
掃碼登錄流程: