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-06 14:32:57
* @LastEditors: Please set LastEditors
* @LastEditTime: 2022-04-14 17:50:48
* @LastEditTime: 2022-04-28 17:37:42
*/
header('Access-Control-Allow-Origin: *');
header("Access-Control-Allow-Methods: *");
@@ -62,6 +62,10 @@ switch ($id) {
case 22:
get_product(__DIR__ . '/data/download/huohu.csv');
break;
case 23:
get_product(__DIR__ . '/data/download/liebao.csv');
break;
}
function get_all_product($file_path)