diff options
author | Kyomotoi <[email protected]> | 2020-10-31 20:02:35 +0800 |
---|---|---|
committer | Kyomotoi <[email protected]> | 2020-10-31 20:02:35 +0800 |
commit | 11e4632aaf2be56c776dbc4e9f0ad5065bb60b5f (patch) | |
tree | e94941155702f5fb25c87e0e05ad2e5afb06b5e4 /api.py | |
parent | 7e92f3fd36c72584e7e9c8d4b9d5b055d52755e6 (diff) | |
download | ATRI-11e4632aaf2be56c776dbc4e9f0ad5065bb60b5f.tar.gz ATRI-11e4632aaf2be56c776dbc4e9f0ad5065bb60b5f.tar.bz2 ATRI-11e4632aaf2be56c776dbc4e9f0ad5065bb60b5f.zip |
[Update]
Diffstat (limited to 'api.py')
-rw-r--r-- | api.py | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -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 |