完善SSO模块相关文档

This commit is contained in:
click33
2022-08-20 12:05:36 +08:00
parent a6f949aee1
commit c26bb73af1
8 changed files with 93 additions and 14 deletions

View File

@@ -22,7 +22,7 @@ public class H5Controller {
/**
* 获取 redirectUrl
*/
@RequestMapping("/getRedirectUrl")
@RequestMapping("/sso/getRedirectUrl")
private Object getRedirectUrl(String redirect, String mode) {
// 未登录情况下,返回 code=401
if(StpUtil.isLogin() == false) {

View File

@@ -5,7 +5,7 @@ server:
# Sa-Token 配置
sa-token:
# -------------- SSO-模式一相关配置 (非模式一不需要配置)
# cookie:
# cookie:
# 配置Cookie作用域
# domain: stp.com