diff --git a/app/jinyou/controller/Jinyoudt.php b/app/jinyou/controller/Jinyoudt.php new file mode 100644 index 0000000..56370aa --- /dev/null +++ b/app/jinyou/controller/Jinyoudt.php @@ -0,0 +1,19 @@ +30000,]); + } +} \ No newline at end of file diff --git a/extends/jinyouapi/Jinyou.php b/extends/jinyouapi/Jinyou.php index 93f4b39..9b6c6c8 100644 --- a/extends/jinyouapi/Jinyou.php +++ b/extends/jinyouapi/Jinyou.php @@ -349,5 +349,19 @@ class jinyou{ $res=self::send_post('Dynamic_Account_Exists', $post_data); return json_decode($res); } + /** + * * 解除微信qq + * @return @json + */ + public static function openTxLimit($account) + { + $post_data = array( + 'account'=>$account, + 't_id'=>"121", + 'account'=>2, + ); + $res=self::send_post('Free_Firewall', $post_data); + return json_decode($res); + } } \ No newline at end of file diff --git a/script/linedata/auto_format.php b/script/linedata/auto_format.php index f3610e5..b34f54c 100644 --- a/script/linedata/auto_format.php +++ b/script/linedata/auto_format.php @@ -67,7 +67,7 @@ function auto_format_list(){ format_product(__DIR__ . '/data/qilin.csv','qlip.cc'); break; case 28: - format_product(__DIR__ . '/data/qilinjt.csv','qlip.cc'); + format_product(__DIR__ . '/data/shuidi.csv','sdip.cc'); break; } } @@ -142,8 +142,8 @@ function format_all_product($file_path) case '麒麟': $dns = 'qlip.cc'; break; - case '麒麟静态': - $dns = 'qlip.cc'; + case '水滴静态': + $dns = 'sdip.cc'; break; default: $dns = 'xlip.vip'; diff --git a/script/linedata/display.php b/script/linedata/display.php index dfac93c..2fcaf5d 100755 --- a/script/linedata/display.php +++ b/script/linedata/display.php @@ -5,7 +5,7 @@ * @Author: kangkang * @Date: 2020-11-06 14:32:57 * @LastEditors: “wanyongkang” “937888580@qq.com” - * @LastEditTime: 2024-01-20 16:08:50 + * @LastEditTime: 2024-01-20 17:16:47 */ header('Access-Control-Allow-Origin: *'); header("Access-Control-Allow-Methods: *"); @@ -78,7 +78,7 @@ switch ($id) { break; case 28: - get_product(__DIR__ . '/data/download/qilinjt.csv'); + get_product(__DIR__ . '/data/download/shuidi.csv'); break; } diff --git a/script/linedata/get_line_list.php b/script/linedata/get_line_list.php index 1532ccc..90cd306 100755 --- a/script/linedata/get_line_list.php +++ b/script/linedata/get_line_list.php @@ -5,7 +5,7 @@ * @Author: kangkang * @Date: 2020-11-03 11:04:15 * @LastEditors: “wanyongkang” “937888580@qq.com” - * @LastEditTime: 2024-01-20 16:14:57 + * @LastEditTime: 2024-01-20 17:15:16 */ $is_script = 1; @@ -20,16 +20,16 @@ ini_set("display_errors", 0); // // //测试用---------------------------------------------------------------------------------------------------------- -// $qilinjt = new Jinyoujt; +// $shuidi = new Jinyoujt; // $url = "https://www.jyip.net/static-list"; -// $qilinjt_api_data = json_decode(file_get_contents($url),true)['data']; +// $shuidi_api_data = json_decode(file_get_contents($url),true)['data']; -// if ($qilinjt_api_data) { -// $qilinjt_data = get_product(__DIR__ . '/data/qilinjt.csv'); -// $qilinjt_f = fopen(__DIR__ . '/data/qilinjt.csv', 'w'); -// qilinjt_getList($qilinjt_api_data, $qilinjt_f, $all,$qilinjt_data); -// fclose($qilinjt_f); +// if ($shuidi_api_data) { +// $shuidi_data = get_product(__DIR__ . '/data/shuidi.csv'); +// $shuidi_f = fopen(__DIR__ . '/data/shuidi.csv', 'w'); +// shuidi_getList($shuidi_api_data, $shuidi_f, $all,$shuidi_data); +// fclose($shuidi_f); // } // die; /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// @@ -173,13 +173,13 @@ if ($qilin_api_data) { } $url = "https://www.jyip.net/static-list"; -$qilinjt_api_data = json_decode(file_get_contents($url),true)['data']; +$shuidi_api_data = json_decode(file_get_contents($url),true)['data']; -if ($qilinjt_api_data) { - $qilinjt_data = get_product(__DIR__ . '/data/qilinjt.csv'); - $qilinjt_f = fopen(__DIR__ . '/data/qilinjt.csv', 'w'); - qilinjt_getList($qilinjt_api_data, $qilinjt_f, $all,$qilinjt_data); - fclose($qilinjt_f); +if ($shuidi_api_data) { + $shuidi_data = get_product(__DIR__ . '/data/shuidi.csv'); + $shuidi_f = fopen(__DIR__ . '/data/shuidi.csv', 'w'); + shuidi_getList($shuidi_api_data, $shuidi_f, $all,$shuidi_data); + fclose($shuidi_f); } @@ -967,7 +967,7 @@ function qilin_getList($data, &$file, &$all, $exit ) //麒麟服务器解析规则 -function qilinjt_getList($data, &$file, &$all, $exit ) +function shuidi_getList($data, &$file, &$all, $exit ) { global $dnx_exit, $dnx_has_exit; $key = ''; @@ -978,7 +978,7 @@ function qilinjt_getList($data, &$file, &$all, $exit ) foreach ($data as $val) { $val = (array)$val; $record = []; - $record['name'] = '麒麟静态'; + $record['name'] = '水滴静态'; $record['city'] = $val['info']->province_name; $province_record[] = $val['info']->province_name; diff --git a/script/linedata/search.php b/script/linedata/search.php index a81ffef..f61e630 100755 --- a/script/linedata/search.php +++ b/script/linedata/search.php @@ -5,7 +5,7 @@ * @Author: kangkang * @Date: 2020-11-07 11:13:08 * @LastEditors: “wanyongkang” “937888580@qq.com” - * @LastEditTime: 2024-01-20 16:09:04 + * @LastEditTime: 2024-01-22 11:49:41 */ header('Access-Control-Allow-Origin: *'); header("Access-Control-Allow-Methods: *"); @@ -79,7 +79,7 @@ if($_GET['type'] == 1){ search_product(__DIR__ . '/data/download/qilin.csv','qlip.cc'); break; case 28: - search_product(__DIR__ . '/data/download/qilinjt.csv','qlip.cc'); + search_product(__DIR__ . '/data/download/shuidi.csv','sdip.cc'); break; } } @@ -163,6 +163,10 @@ function search_all_product($file_path,$search){ case '麒麟': $dns = 'qlip.cc'; break; + + case '水滴静态': + $dns = 'sdip.cc'; + break; } $data['city'] = $info[1];