update
This commit is contained in:
6
app.py
6
app.py
@@ -6,6 +6,8 @@ from tgMesaage import sendTg
|
||||
import re
|
||||
import pickle
|
||||
import os
|
||||
from fastapi.responses import JSONResponse
|
||||
|
||||
|
||||
app = FastAPI()
|
||||
|
||||
@@ -89,4 +91,6 @@ async def getphonenum(inputArguments: Union[str, None] = None,appid: Union[str,
|
||||
|
||||
# 存储uid和手机号
|
||||
# return {"appid": appid,"bid": bid,"requestid": requestid,"uid": uid,'inputArguments':inputArguments}
|
||||
return {"err_code": -1,"data_list": [],"outputArguments":'test'}
|
||||
content = {"err_code": -1,"data_list": [],"outputArguments":'test'}
|
||||
headers = { "Content-Type": "Content-Type: "}
|
||||
return JSONResponse(content=content, headers=headers)
|
||||
|
||||
Reference in New Issue
Block a user