This commit is contained in:
eric
2023-05-05 17:17:49 +08:00
parent 3d04f78929
commit bcf9380547

3
app.py
View File

@@ -212,10 +212,9 @@ async def getphonenum(
# def read_root(): # def read_root():
# return {"Hello": "World"} # return {"Hello": "World"}
def callback( def callback(
query: Union[str, None] = query, query: Union[str, None] = None,
): ):
print("query", query) print("query", query)
background_tasks.add_task(urlSend, num)
content = { content = {
"ans_node_name": "小微闲聊", "ans_node_name": "小微闲聊",
"title": "小薇兄你好", "title": "小薇兄你好",