feat: wenben

This commit is contained in:
eric
2023-05-05 08:38:12 +08:00
parent ebb9f40be5
commit 156ceceb53

8
app.py
View File

@@ -117,9 +117,11 @@ def read_items(
# return {"Hello": "World"} # return {"Hello": "World"}
def lili( def lili(
): ):
content = {"code":"00000","message":"请求成功","plugin":'null',"data":[{"content":"lilili","typed":1,"remark":'remark'}]} # content = {"code":"00000","message":"请求成功","plugin":'null',"data":[{"content":"lilili","typed":1,"remark":'remark'}]}
headers = {"Content-Type": "application/json"} # headers = {"Content-Type": "application/json"}
return JSONResponse(content=content, headers=headers) # return JSONResponse(content=content, headers=headers)
return 'lili'