Browse Source

增加登录方法

sandm 1 year ago
parent
commit
aae454b831
1 changed files with 3 additions and 1 deletions
  1. 3 1
      app/index/controller/Auth.php

+ 3 - 1
app/index/controller/Auth.php

@@ -231,7 +231,9 @@ class Auth extends BaseController {
                     "avatar" => $user["headPortrait"],
                     "rolename" => "企业用户",
                     "usertype" => $type,
-                    "type" => $user["type"]
+                    "type" => $user["type"],
+                    "isGeneral" => $user["isGeneral"],
+                    "medicalCommunityId" => $user["medicalCommunityId"]
                 ]);
                 break;
             case 3: