Browse Source

驻场老师

linwu 1 năm trước cách đây
mục cha
commit
01f51e78f5
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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,
         ]);
     }