修复fastapi_example的get_contacts错误

This commit is contained in:
evilbeast 2022-09-07 17:58:15 +08:00
parent b09ce23997
commit e279b6e6fc

View File

@ -82,7 +82,6 @@ async def user_get_profile(model: models.ClientReqModel):
@catch_exception() @catch_exception()
async def get_contacts(model: models.ClientReqModel): async def get_contacts(model: models.ClientReqModel):
data = client_mgr.get_client(model.guid).get_contacts() data = client_mgr.get_client(model.guid).get_contacts()
print(data)
return response_json(1, data) return response_json(1, data)