Browse Source

登录适配旧版uu互联

wangmh 7 years ago
parent
commit
ad72d208a0

+ 3 - 0
sso-server/src/main/java/com/uas/sso/controller/LoginController.java

@@ -295,6 +295,9 @@ public class LoginController extends BaseController {
         request.getSession().setAttribute("baseUrl", loginUrl);
         ModelMap modelMap = (ModelMap) tk.getBind();
         Long userUU = (Long) modelMap.get("userUU");
+        if (modelMap.containsKey("spaceUU")) {
+            spaceUU = (Long) modelMap.get("spaceUU");
+        }
 
         if (app != null) {
             app = StringUtils.isEmpty(app.getUserControl()) ? app : appService.findOne(app.getUserControl());