|
@@ -160,8 +160,9 @@ public class LoginController extends BaseController {
|
|
|
|
|
|
@Log("单点登录")
|
|
|
@GetMapping("/ssoLogin")
|
|
|
- String ssoLogin(String token) {
|
|
|
+ String ssoLogin(HttpServletRequest request) {
|
|
|
try {
|
|
|
+ String token = request.getHeader("token");
|
|
|
if(ObjectUtils.isEmpty(token)){
|
|
|
throw new Exception("token不能为空");
|
|
|
}
|