dyjh 6 years ago
parent
commit
6e6120e929
1 changed files with 2 additions and 1 deletions
  1. 2 1
      app/Http/Controllers/Api/V1/AlbumController.php

+ 2 - 1
app/Http/Controllers/Api/V1/AlbumController.php

@@ -2404,7 +2404,7 @@ class AlbumController extends Controller
             $detail = json_decode($val['detail'],true);
             $detail = json_decode($val['detail'],true);
             //dd($detail);die;
             //dd($detail);die;
             $goods_id = $detail['goods_id'];
             $goods_id = $detail['goods_id'];
-            $goods = AlbumProductModel::where([['id',$goods_id]])->first(); dd(111);
+            $goods = AlbumProductModel::where([['id',$goods_id]])->first();
             if($goods){
             if($goods){
                 $cat = AlbumCatModel::where([['store_id',$store_id],['id',$goods->cat_id]])->first();
                 $cat = AlbumCatModel::where([['store_id',$store_id],['id',$goods->cat_id]])->first();
                 if (isset($arr[date('Y-m-d H:i', strtotime($val['created_at']))])) {
                 if (isset($arr[date('Y-m-d H:i', strtotime($val['created_at']))])) {
@@ -2428,6 +2428,7 @@ class AlbumController extends Controller
                         'times' => 1
                         'times' => 1
                     ];
                     ];
                 }
                 }
+                dd(111);
             }
             }
             krsort($arr);
             krsort($arr);
         }
         }