去除城市中的空格

This commit is contained in:
wanyongkang
2020-11-28 15:21:44 +08:00
parent e9521c6a4d
commit cbeed2a5ce

View File

@@ -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) {