From ef5c7cb5aa828890148148fe53fc85108f3e79c7 Mon Sep 17 00:00:00 2001 From: zhaoqingang <zhaoqg0118@163.com> Date: 星期五, 10 一月 2025 18:09:57 +0800 Subject: [PATCH] 知识库选择返回自己创建的 --- app/service/bisheng.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/app/service/bisheng.py b/app/service/bisheng.py index ff1accc..51db4f8 100644 --- a/app/service/bisheng.py +++ b/app/service/bisheng.py @@ -26,7 +26,7 @@ else: return {} - async def register(self, username: str, password: str): + async def register(self, username: str, password: str, token:str=""): public_key = await self.get_public_key_api() password = BishengCrypto(public_key, settings.PRIVATE_KEY).encrypt(password) async with httpx.AsyncClient() as client: -- Gitblit v1.8.0