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