返回null

This commit is contained in:
eric
2023-05-05 08:34:07 +08:00
parent 006f6facf9
commit ebb9f40be5

2
app.py
View File

@@ -117,7 +117,7 @@ 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":null}]} 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)