|
@@ -45,14 +45,12 @@ class refill_successfulControl extends SystemControl
|
|
|
} else {
|
|
|
$url = BASE_SITE_URL . '/plot/paths?time_stamp='.$_GET['timestamp'];
|
|
|
}
|
|
|
- $url = 'http://192.168.1.220/plot/mchpaths?time_stamp=1621353600';
|
|
|
Log::record("successful get where url : {$url}", Log::DEBUG);
|
|
|
$data = http_request($url);
|
|
|
if(empty($data)) {
|
|
|
echo(json_encode(''));
|
|
|
exit;
|
|
|
}
|
|
|
-// $data = "['/1621353600/10096/1/2/100', '/1621353600/10096/1/2/1000', '/1621353600/10096/1/2/500', '/1621353600/10101/1/4/30']";
|
|
|
|
|
|
if($type == 'system') {
|
|
|
preg_match_all('/\d{10}\/\d+\/\d{1,2}\/\d\/\d{2,4}/', $data, $matches);
|