瀏覽代碼

驻场老师

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,
         ]);
     }