瀏覽代碼

Merge branch 'master' of http://git.9026.com/wesley/furniture

gq 6 年之前
父節點
當前提交
6d888a72ec
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Http/Controllers/Api/V1/AlbumController.php

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

xqd
@@ -2038,7 +2038,7 @@ class AlbumController extends Controller
             $goods_id = $detail['goods_id'];
             $goods = AlbumProductModel::where([['id',$goods_id]])->first();
             if($goods){
-                $count=  AlbumWatchRecord::where([['action',3],['store_id',$store_id],['detail',$detail]])->count();
+                $count=  AlbumWatchRecord::where([['action',3],['store_id',$store_id],['detail',$val['detail']]])->count();
                 $arr[] = ['name'=>$goods->name,'count'=>$count];
             }
         }