diff options
-rw-r--r-- | ATRI/data/data_HTML/api/index.html | 3 | ||||
-rw-r--r-- | api.py | 16 |
2 files changed, 8 insertions, 11 deletions
diff --git a/ATRI/data/data_HTML/api/index.html b/ATRI/data/data_HTML/api/index.html index 5c71927..d6de227 100644 --- a/ATRI/data/data_HTML/api/index.html +++ b/ATRI/data/data_HTML/api/index.html @@ -182,9 +182,6 @@ <tr> <td>* asname: {{info_asname}}</td> </tr> - <tr> - <td>* 记住,能力越大责任越大,您的访问请求以及各种信息已被记录!</td> - </tr> </tbody> </table> </center> @@ -1,7 +1,7 @@ #!/usr/bin/env python3 # -*- encoding: utf-8 -*- ''' -@File : api.py +@File : app.py @Time : 2020/10/24 00:25:34 @Author : Kyomotoi @Contact : [email protected] @@ -166,13 +166,13 @@ async def index(request: Request): 'data_normal': data_normal, 'data_nearR18': data_nearR18, 'data_r18': data_r18, - 'times_all': "完善中", + 'times_all': 4, 'date_now': localtime, - 'times_now': "完善中", - 'date_yesterday': "完善中", - 'times_yesterday': "完善中", - 'date_before_yesterday': "完善中", - 'times_before_yesterday': "完善中", + 'times_now': 6, + 'date_yesterday': 7, + 'times_yesterday': 8, + 'date_before_yesterday': 9, + 'times_before_yesterday': 10, 'info_ip': query, 'info_continent': info["continent"], 'info_country': info["country"], @@ -239,4 +239,4 @@ if __name__ == '__main__': with open(file_info, 'r') as f: file_info = json.load(f) import uvicorn - uvicorn.run(app, host=file_info["html"]["ip"], port=file_info["html"]["port"]) + uvicorn.run(app, host=file_info["html"]["ip"], port=file_info["html"]["port"])
\ No newline at end of file |