lili
This commit is contained in:
11
app.py
11
app.py
@@ -112,6 +112,17 @@ def read_items(
|
|||||||
print("console :,", "appid", appid, "bid", bid, "requestid", requestid, "uid", uid)
|
print("console :,", "appid", appid, "bid", bid, "requestid", requestid, "uid", uid)
|
||||||
return {"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")
|
@app.get("/send")
|
||||||
# def read_root():
|
# def read_root():
|
||||||
|
|||||||
Reference in New Issue
Block a user