master
cody 2 weeks ago
parent 8985011dd1
commit a6b60569ff

@ -287,7 +287,7 @@ class UserController extends BaseController
}
$list = $list->where(function ($query) use ($all) {
if (isset($all['from'])) {
$query->where('from', $all['from']);
$query->where('from', 'like', '%' . $all['from'] . '%');
}
if (isset($all['is_vip'])) {
$query->where('is_vip', $all['is_vip']);
@ -540,8 +540,7 @@ class UserController extends BaseController
} else {
if (in_array($k, ['company_type', 'type'])) {
$list[$key][$k] = str_replace('、', ',', $value[$v]);
$list[$key][$k] = str_replace('', ',', $list[$key][$k]);
;
$list[$key][$k] = str_replace('', ',', $list[$key][$k]);;
} else {
$list[$key][$k] = $value[$v];
}

Loading…
Cancel
Save