tianwu.sun hai 9 meses
pai
achega
bc11fbb781

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

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