From 5eff7ec9d00fa835a76c354bad7cc7f284d28b11 Mon Sep 17 00:00:00 2001 From: zhaoqingang <zhaoqg0118@163.com> Date: 星期四, 26 十二月 2024 13:51:27 +0800 Subject: [PATCH] 新增用户增加rg数据同步 --- 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