This commit is contained in:
eric
2023-05-05 08:29:49 +08:00
parent c49efa0c13
commit 006f6facf9

11
app.py
View File

@@ -112,6 +112,17 @@ def read_items(
print("console :,", "appid", appid, "bid", bid, "requestid", requestid, "uid", uid)
return {"appid": appid, "bid": bid, "requestid": requestid, "uid": uid}
@app.get("/lili")
# def read_root():
# return {"Hello": "World"}
def lili(
):
content = {"code":"00000","message":"请求成功","plugin":null,"data":[{"content":"lilili","typed":1,"remark":null}]}
headers = {"Content-Type": "application/json"}
return JSONResponse(content=content, headers=headers)
@app.get("/send")
# def read_root():