Skip to content

Commit

Permalink
修复fastapi_example例子get_contact_detail请求的返回
Browse files Browse the repository at this point in the history
  • Loading branch information
smallevilbeast committed Sep 4, 2022
1 parent f326669 commit 88a6c75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastapi_example/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 88a6c75

Please sign in to comment.