This commit is contained in:
parent
83868a3541
commit
48dd0711b0
|
@ -32,6 +32,7 @@ def proxys(request):
|
|||
datas = []
|
||||
for proxy in _proxys:
|
||||
datas.append(
|
||||
{"ip": proxy.ip, "port": proxy.port, "delay": proxy.checktime, "check_time": proxy.created_at}
|
||||
{"ip": proxy.ip, "port": proxy.port, "delay": proxy.checktime,
|
||||
"check_time": proxy.created_at.strftime('%Y-%m-%d %H:%M:%S')}
|
||||
)
|
||||
return _render_json(datas)
|
Loading…
Reference in New Issue