This commit is contained in:
eric
2023-05-04 15:38:15 +08:00
parent 7e83482f8c
commit c01d6079a1

6
app.py
View File

@@ -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)