tianwu.sun hai 9 meses
pai
achega
47c337b5e4

+ 2 - 1
src/main/java/com/bootdo/system/controller/LoginController.java

@@ -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不能为空");
             }