From 11e4632aaf2be56c776dbc4e9f0ad5065bb60b5f Mon Sep 17 00:00:00 2001
From: Kyomotoi <1172294279@qq.com>
Date: Sat, 31 Oct 2020 20:02:35 +0800
Subject: [Update]
---
ATRI/data/data_HTML/api/index.html | 3 ---
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 @@
* asname: {{info_asname}} |
-
- * 记住,能力越大责任越大,您的访问请求以及各种信息已被记录! |
-
diff --git a/api.py b/api.py
index 7121bd5..f0306bd 100644
--- a/api.py
+++ b/api.py
@@ -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 : kyomotoiowo@gmail.com
@@ -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
--
cgit v1.2.3