From 006f6facf97bf2f7d41420861034ec7a420067f3 Mon Sep 17 00:00:00 2001 From: eric Date: Fri, 5 May 2023 08:29:49 +0800 Subject: [PATCH] lili --- app.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/app.py b/app.py index cfd250b..f56f80e 100644 --- a/app.py +++ b/app.py @@ -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():