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 | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
diff --git a/app/service/service_token.py b/app/service/service_token.py
index 8838b22..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):
@@ -114,13 +115,7 @@
await ragflow_service.add_user_tenant(token,u.app_id,
user.email,
user.app_id)
-
- await ragflow_service.add_user_tenant(token, u.app_id,
- user.email,
- user.app_id)
await ragflow_service.add_user_tenant(token, user.app_id,
u.email,
u.app_id)
- await ragflow_service.add_user_tenant(token, user.app_id,
- u.email,
- u.app_id)
\ No newline at end of file
+ update_ragflow_user_tenant(user.app_id)
--
Gitblit v1.8.0