소스 검색

驻场老师

linwu 1 년 전
부모
커밋
01f51e78f5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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,
         ]);
     }