dyjh 6 years ago
parent
commit
f9cbc10c05
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/Http/Controllers/Admin/Album/AgentController.php

+ 1 - 0
app/Http/Controllers/Admin/Album/AgentController.php

@@ -38,6 +38,7 @@ class AgentController extends Controller
             $query = $query->pushCriteria(new OrderBy('id','DESC'));
             $query = $query->pushCriteria(new OrderBy('id','DESC'));
         }
         }
         $list = $query->paginate();
         $list = $query->paginate();
+        dd($list);
         foreach ($list as $item){
         foreach ($list as $item){
             $product = AlbumProductPriceModel::where([['agent_id',$item->id],['store_id',$this->getStoreId()]])->first();
             $product = AlbumProductPriceModel::where([['agent_id',$item->id],['store_id',$this->getStoreId()]])->first();
             if(!empty($product)){
             if(!empty($product)){