Browse Source

Update index.php

main
LoveesYe 3 years ago committed by GitHub
parent
commit
2c79d56afb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      web/index.php

2
web/index.php

@ -19,7 +19,7 @@ if(strpos($url, '/common/timestamp') !== false && $method=='POST'){ @@ -19,7 +19,7 @@ if(strpos($url, '/common/timestamp') !== false && $method=='POST'){
}
elseif(strpos($url, '/auth') !== false && $method=='POST'){
$param = parse_input();
$data = ['nodes'=>10000, 'machine_code'=>$param['machine_code'], 'end_at'=>time()+3600*24*365];
$data = ['nodes'=>10000, 'machine_code'=>$param['machine_code'], 'end_at'=>time()+3600*24*365*10];
echo generate_output($data);
}
elseif(strpos($url, '/check') !== false && $method=='POST'){

Loading…
Cancel
Save