去除城市中的空格
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
* @Author: kangkang
|
* @Author: kangkang
|
||||||
* @Date: 2020-11-03 11:04:15
|
* @Date: 2020-11-03 11:04:15
|
||||||
* @LastEditors: Please set LastEditors
|
* @LastEditors: Please set LastEditors
|
||||||
* @LastEditTime: 2020-11-27 10:26:40
|
* @LastEditTime: 2020-11-28 15:21:20
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$is_script = 1;
|
$is_script = 1;
|
||||||
@@ -134,6 +134,7 @@ function qiangzi_getList($data, &$file, &$all, $exit)
|
|||||||
if (strpos($info['description'], '省混')) {
|
if (strpos($info['description'], '省混')) {
|
||||||
$record['city'] = $info['description'];
|
$record['city'] = $info['description'];
|
||||||
}
|
}
|
||||||
|
$record['city'] = str_replace(' ', '', $record['city']);
|
||||||
if (strpos($info['description'], '电信') !== false) {
|
if (strpos($info['description'], '电信') !== false) {
|
||||||
$record['supply'] = '电信';
|
$record['supply'] = '电信';
|
||||||
} elseif (strpos($info['description'], '联通') !== false) {
|
} elseif (strpos($info['description'], '联通') !== false) {
|
||||||
|
|||||||
Reference in New Issue
Block a user