增加注册时根据公司进行自动授权&&调整资源列表返回

This commit is contained in:
mzl@hnxinyouhe.com
2025-08-13 15:18:36 +08:00
parent cd4de8b206
commit 2696f52db2
4 changed files with 114 additions and 8 deletions
+6
View File
@@ -118,6 +118,12 @@ class AuthLogic
}
// 是否登陆
$user->isLogin = false;
$options = [
'corp_id' => $user->corp_id,
'user_id' => $user->id
];
\Webman\RedisQueue\Redis::send('perm-agt', $options);
} else {
$updated = [
'union_id' => $feishuUserInfo['union_id'],