From 88a6c75f149780f1fa9239ff4392fae721be8769 Mon Sep 17 00:00:00 2001 From: evilbeast Date: Sun, 4 Sep 2022 23:57:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dfastapi=5Fexample=E4=BE=8B?= =?UTF-8?q?=E5=AD=90get=5Fcontact=5Fdetail=E8=AF=B7=E6=B1=82=E7=9A=84?= =?UTF-8?q?=E8=BF=94=E5=9B=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fastapi_example/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastapi_example/main.py b/fastapi_example/main.py index ee143f6..939e384 100644 --- a/fastapi_example/main.py +++ b/fastapi_example/main.py @@ -87,7 +87,7 @@ async def get_contacts(model: models.ClientReqModel): @app.post("/contact/get_contact_detail", summary="获取指定联系人详细信息", tags=["Contact"], - response_model=models.ContactDetailModel) + response_model=models.ResponseModel) @catch_exception() async def get_contact_detail(model: models.ContactDetailReqModel): data = client_mgr.get_client(model.guid).get_contact_detail(model.wxid)