623ca8c8 by 周伟奇

fix bug

1 parent 0c6c7693
......@@ -202,7 +202,7 @@ class Command(BaseCommand, LoggerMixin):
@staticmethod
async def fetch_bc_name_result(url, json_data):
async with aiohttp.ClientSession(connector=aiohttp.TCPConnector(ssl=False)) as session:
async with session.post(url, data=json_data) as response:
async with session.post(url, json=json_data) as response:
if response.status == 200:
return await response.json()
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!