dyjh hace 6 años
padre
commit
ddcf6c987f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Repositories/Album/Criteria/AgentWhere.php

+ 1 - 1
app/Repositories/Album/Criteria/AgentWhere.php

xqd
@@ -51,7 +51,7 @@ class AgentWhere extends Criteria {
                 if ($status == 3) {
                     $model->where('is_boss', 1);
                 }
-            })->with(['user:username as nickname,user:is_boss']);
+            })->with(['user:username as nickname,is_boss']);
             if ($status == 2) {
                 $model = $model->where([['status', 1]]);
             }