蘑菇线路表接口更改

This commit is contained in:
“wanyongkang”
2023-08-10 17:20:14 +08:00
parent 0d0934f9f0
commit b8ec386b02

View File

@@ -5,7 +5,7 @@
* @Author: kangkang * @Author: kangkang
* @Date: 2020-11-03 11:04:15 * @Date: 2020-11-03 11:04:15
* @LastEditors: “wanyongkang” “937888580@qq.com” * @LastEditors: “wanyongkang” “937888580@qq.com”
* @LastEditTime: 2023-05-14 17:22:37 * @LastEditTime: 2023-08-10 17:19:52
*/ */
$is_script = 1; $is_script = 1;
include_once __DIR__ . '/../../index.php'; include_once __DIR__ . '/../../index.php';
@@ -64,7 +64,7 @@ $dnx_exit = fopen(__DIR__ . '/data/dns_diff.csv', 'a');
$dnx_has_exit = get_product(__DIR__ . '/data/dns_diff.csv', 1); $dnx_has_exit = get_product(__DIR__ . '/data/dns_diff.csv', 1);
//----------------------------------------------------------------------------------------------------- //-----------------------------------------------------------------------------------------------------
$apikey = '80cf4f64e990b78a9fc5eb'; $apikey = '80cf4f64e990b78a9fc5eb';
$url = "http://rds-api.juip.com/api/index/getList?apikey=".$apikey; $url = "http://rds-api.juip.com/api/index/getList2?apikey=".$apikey;
$mogu = json_decode(file_get_contents($url), true)['data']; $mogu = json_decode(file_get_contents($url), true)['data'];
if ($mogu) { if ($mogu) {
$mogu_f = fopen(__DIR__ . '/data/mogu.csv', 'w'); $mogu_f = fopen(__DIR__ . '/data/mogu.csv', 'w');