火狐线路搜索
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
* @Author: kangkang
|
* @Author: kangkang
|
||||||
* @Date: 2020-11-07 11:13:08
|
* @Date: 2020-11-07 11:13:08
|
||||||
* @LastEditors: Please set LastEditors
|
* @LastEditors: Please set LastEditors
|
||||||
* @LastEditTime: 2022-04-27 16:35:46
|
* @LastEditTime: 2022-04-27 16:38:16
|
||||||
*/
|
*/
|
||||||
header('Access-Control-Allow-Origin: *');
|
header('Access-Control-Allow-Origin: *');
|
||||||
header("Access-Control-Allow-Methods: *");
|
header("Access-Control-Allow-Methods: *");
|
||||||
@@ -181,7 +181,11 @@ function search_product($file_path,$dns = ''){
|
|||||||
$data['online'] = $info[7];
|
$data['online'] = $info[7];
|
||||||
$data['status'] = $info[8];
|
$data['status'] = $info[8];
|
||||||
$ip = explode('.',$info[9]);
|
$ip = explode('.',$info[9]);
|
||||||
$data['nasname'] = $ip[0]?ip_repeat($record,$ip[0]).'.'.$dns:'';
|
if (count($ip) == 4) {
|
||||||
|
$data['nasname'] = $info[9];
|
||||||
|
} else {
|
||||||
|
$data['nasname'] = $ip[0]?ip_repeat($record,$ip[0]).'.'.$dns:'';
|
||||||
|
}
|
||||||
$list[] = $data;
|
$list[] = $data;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user