Browse Source

驻场老师

linwu 1 year ago
parent
commit
01f51e78f5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/mainapp/controller/My.php

+ 1 - 1
app/mainapp/controller/My.php

@@ -180,7 +180,7 @@ class My extends BaseController
             'workerall' => $workerall->isEmpty() ? null : $workerall,
             'agentall'  => $agentall->isEmpty() ? null : $agentall,
             'brokerall' => $brokerall->isEmpty() ? null : $brokerall,
-            'resident'  => empty($resident) ? null : $resident,
+            'resident'  => $resident->isEmpty() ? null : $resident,
         ]);
     }