refactor: 删除 users 表中的冗余飞书字段

- 删除 feishu_user_id, feishu_open_id, tenant_key 字段
- JWT token 改用 feishu_app_id 代替 feishu_user_id
- 删除废弃的 FeishuService::sendApprovalMessage() 方法
- 更新 User 模型移除废弃字段和 scope 方法

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
root
2026-02-26 16:33:58 +08:00
parent 0489da5e40
commit fdbe2e837a
4 changed files with 36 additions and 110 deletions
+1 -1
View File
@@ -131,7 +131,7 @@ class AuthController extends BaseController
$token = JwtUtil::encode([
'user_id' => $user->id,
'company_id' => $user->company_id,
'feishu_user_id' => $user->feishu_user_id,
'feishu_app_id' => $user->feishu_app_id,
'union_id' => $user->union_id,
]);