This commit is contained in:
“wanyongkang”
2022-04-28 17:43:45 +08:00
parent b15188fc6e
commit 0d0572f1ed
4 changed files with 52 additions and 18 deletions

View File

@@ -5,7 +5,7 @@
* @Author: kangkang
* @Date: 2020-11-07 11:13:08
* @LastEditors: Please set LastEditors
* @LastEditTime: 2022-04-27 16:38:16
* @LastEditTime: 2022-04-28 17:38:25
*/
header('Access-Control-Allow-Origin: *');
header("Access-Control-Allow-Methods: *");
@@ -65,6 +65,10 @@ if($_GET['type'] == 1){
case 22:
search_product(__DIR__ . '/data/download/huohu.csv','hhip.vip');
break;
case 23:
search_product(__DIR__ . '/data/download/liebao.csv','lbip.vip');
break;
}
}
@@ -132,6 +136,10 @@ function search_all_product($file_path,$search){
case '火狐':
$dns = 'hhip.vip';
break;
case '猎豹':
$dns = 'lbip.vip';
break;
}
$data['city'] = $info[1];