From 519930bc1112cdf7881fecce907381ce6374e74c Mon Sep 17 00:00:00 2001
From: zhaoqingang <zhaoqg0118@163.com>
Date: 星期二, 14 一月 2025 13:37:56 +0800
Subject: [PATCH] 文档出卷-未上传文件提示
---
app/service/service_token.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/app/service/service_token.py b/app/service/service_token.py
index 0b031cb..9707d3c 100644
--- a/app/service/service_token.py
+++ b/app/service/service_token.py
@@ -8,6 +8,7 @@
from app.service.bisheng import BishengService
from app.service.difyService import DifyService
from app.service.ragflow import RagflowService
+from app.task.fetch_agent import update_ragflow_user_tenant
async def get_bisheng_token(db, user_id: int):
@@ -116,4 +117,5 @@
user.app_id)
await ragflow_service.add_user_tenant(token, user.app_id,
u.email,
- u.app_id)
\ No newline at end of file
+ u.app_id)
+ update_ragflow_user_tenant(user.app_id)
--
Gitblit v1.8.0