|
|
@@ -54,14 +54,11 @@ class TestController extends Controller
|
|
|
foreach ($query->batch(1000) as $allUser) {
|
|
|
if (!empty($allUser)) {
|
|
|
foreach ($allUser as $user) {
|
|
|
- print_r($user);
|
|
|
$userId = $user['id'];
|
|
|
$mobile = $user['mobile'];
|
|
|
$customList = CustomClass::getAllByCondition(['userId' => $userId], null, 'id,mobile,userId');
|
|
|
if (!empty($customList)) {
|
|
|
foreach ($customList as $custom) {
|
|
|
- print_r($custom);
|
|
|
- die;
|
|
|
$userMobile = $custom['mobile'];
|
|
|
if (!empty($userMobile) && $userMobile != $mobile) {
|
|
|
echo $userId . ' ' . $mobile . "\n";
|