From 102c2db6174be5bf90acceda2a931c94eac64266 Mon Sep 17 00:00:00 2001 From: zhl Date: Thu, 17 Jun 2021 13:04:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=87=A0=E4=B8=AA=E4=B8=BB?= =?UTF-8?q?=E8=A6=81=E7=9A=84=E6=96=B9=E6=B3=95=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index 9ab6988..564e423 100644 --- a/main.py +++ b/main.py @@ -16,19 +16,19 @@ class Item(BaseModel): @app.post("/check_wx") -async def check_wx(item: Item): +async def check_with_wx(item: Item): res_wechat = await msg_sec_check(item.content) return res_wechat @app.post("/check_bd") -async def check_wx(item: Item): +async def check_with_bd(item: Item): res_baidu = await check_baidu(item.content) return res_baidu @app.post("/check_local") -async def check_local_def(item: Item): +async def check_with_local(item: Item): res_local = check_local(item.content) return res_local