From cbeed2a5ce9530fa1f54cc0ac492de11024ae159 Mon Sep 17 00:00:00 2001 From: wanyongkang <937888580@qq.com> Date: Sat, 28 Nov 2020 15:21:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E5=9F=8E=E5=B8=82=E4=B8=AD?= =?UTF-8?q?=E7=9A=84=E7=A9=BA=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/linedata/get_line_list.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script/linedata/get_line_list.php b/script/linedata/get_line_list.php index 4759dda..b61ad5f 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: Please set LastEditors - * @LastEditTime: 2020-11-27 10:26:40 + * @LastEditTime: 2020-11-28 15:21:20 */ $is_script = 1; @@ -134,6 +134,7 @@ function qiangzi_getList($data, &$file, &$all, $exit) if (strpos($info['description'], '省混')) { $record['city'] = $info['description']; } + $record['city'] = str_replace(' ', '', $record['city']); if (strpos($info['description'], '电信') !== false) { $record['supply'] = '电信'; } elseif (strpos($info['description'], '联通') !== false) {