dyjh %!s(int64=6) %!d(string=hai) anos
pai
achega
6e6120e929
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      app/Http/Controllers/Api/V1/AlbumController.php

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

xqd xqd
@@ -2404,7 +2404,7 @@ class AlbumController extends Controller
             $detail = json_decode($val['detail'],true);
             //dd($detail);die;
             $goods_id = $detail['goods_id'];
-            $goods = AlbumProductModel::where([['id',$goods_id]])->first(); dd(111);
+            $goods = AlbumProductModel::where([['id',$goods_id]])->first();
             if($goods){
                 $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']))])) {
@@ -2428,6 +2428,7 @@ class AlbumController extends Controller
                         'times' => 1
                     ];
                 }
+                dd(111);
             }
             krsort($arr);
         }