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: