mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-11-09 19:36:44 +00:00
Support CoolQHttpApi message source
This commit is contained in:
@@ -52,7 +52,7 @@ class MojoWeixinAdapter(Adapter):
|
||||
|
||||
return new_ctx
|
||||
|
||||
def get_login_info(self, ctx_msg: dict):
|
||||
def get_login_info(self):
|
||||
json = requests.get(self.api_url + '/get_user_info').json()
|
||||
if json:
|
||||
json['user_tid'] = json.get('id')
|
||||
|
||||
Reference in New Issue
Block a user